| Constructor and Description |
|---|
OptionalCloner(Cloner wrapped) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canClone(Object source)
Determine whether or not the current cloner can clone the given object.
|
Object |
clone(Object source)
Perform the clone.
|
Cloner |
getWrapped() |
protected Cloner wrapped
public OptionalCloner(Cloner wrapped)
public boolean canClone(Object source)
Clonerpublic Object clone(Object source)
Cloner
This method should never be called unless a corresponding Cloner.canClone(Object) returns TRUE.
public Cloner getWrapped()
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.