public interface Duplicable
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
duplicate()
Creates a copy of an object.
|
java.lang.Object |
duplicate(boolean with_state)
Creates a possibly stateful copy of an object.
|
java.lang.Object duplicate()
duplicate(false)
.java.lang.Object duplicate(boolean with_state)
with_state
- Set to true
for a stateful copy, false
otherwiseCopyright © Sylvain HallĂ©. All Rights Reserved.