public class CloneTest
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
private static CloneTest |
clone
Stores the clone.
|
private int |
i
Just something to clone.
|
private static CloneTest |
instance
Stores the instance.
|
| Constructor and Description |
|---|
CloneTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
asserts()
The automated tests using assert statements.
|
CloneTest |
clone()
Clones this instance.
|
private static void |
execute()
Executes the test.
|
static void |
main(java.lang.String[] args)
Starts the test.
|
private static CloneTest instance
private static CloneTest clone
private int i
public CloneTest clone()
clone in class java.lang.Objectprivate static void execute()
public static void main(java.lang.String[] args)
args - ignoredpublic static void asserts()
EndSystem
annotation.