View difference between Paste ID: TSEyz6JV and BXww6gfY
SHOW: | | - or go back to the newest paste.
1
package com.unihedro.test;
2
3
public class Unihedron implements Cloneable {
4
5
    private static final Unihedron Unihedron;
6
    static {
7
        Unihedron = new Unihedron();
8
    }
9
10
    private Unihedron() {}
11
12
    /**
13
     * @see Object#clone()
14
     */
15
    @Override
16
    protected Unihedron clone() {
17
        return getUnihedron();
18
    }
19
20
    /**
21
     * @return Clone.
22
     */
23
    private Unihedron getUnihedron() {
24
        return Unihedron.Unihedron.clone();
25
    }
26
27
}