T
- type of the clonepublic interface Copyable<T> extends Cloneable
Copyable
interface defines a type safe clone
method to create a field-for-field copy of instances of that class.
Hint: This interface extends the
java.lang.Cloneable
interface.
Comparable
Modifier and Type | Method and Description |
---|---|
T |
clone()
Returns a field-for-field copy of this instance.
|
T clone()
Copyright © 2003–2021 XDEV Software. All rights reserved.