public interface Struct<T>
extends java.lang.Cloneable, java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
static <T extends Struct<T>> |
byVal(T value)
Try to copy the input value if it's Struct
|
T |
clone()
Clone current instance
|
void |
copyFrom(T t)
Copy internal state from argument t
|
T clone()
void copyFrom(T t)
t - source instance to copystatic <T extends Struct<T>> T byVal(T value)
T - Struct typevalue - input value to clone