public static class TestCloner.RegularObject
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected int |
i |
| Constructor and Description |
|---|
RegularObject(int i) |
| Modifier and Type | Method and Description |
|---|---|
TestCloner.RegularObject |
clone() |
java.lang.String |
toString() |
public TestCloner.RegularObject clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object