Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.unihedro.test;
- public class Unihedron implements Cloneable {
- private static final Unihedron Unihedron;
- static {
- Unihedron = new Unihedron();
- }
- private Unihedron() {}
- /**
- * @see Object#clone()
- */
- @Override
- protected Unihedron clone() {
- return getUnihedron();
- }
- /**
- * @return Clone.
- */
- private Unihedron getUnihedron() {
- return Unihedron.Unihedron.clone();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement