Constructor and Description |
---|
NullableCloner(Cloner wrapped) |
Modifier and Type | Method and Description |
---|---|
boolean |
canClone(java.lang.Object source)
Determine whether or not the current cloner can clone the given object.
|
java.lang.Object |
clone(java.lang.Object source)
Perform the clone.
|
Cloner |
getWrapped() |
protected Cloner wrapped
public NullableCloner(Cloner wrapped)
public boolean canClone(java.lang.Object source)
Cloner
public java.lang.Object clone(java.lang.Object source)
Cloner
This method should never be called unless a corresponding Cloner.canClone(Object)
returns TRUE.
public Cloner getWrapped()