public class IcedUtils
extends java.lang.Object
| Constructor and Description |
|---|
IcedUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Iced> |
clone(T iced)
Clone given iced object.
|
static <T extends Keyed> |
clone(T keyed,
Key<T> newKey)
Clone given keyed object and replace its key by
given key.
|
static <T extends Keyed> |
clone(T keyed,
Key<T> newKey,
boolean publish)
Clone given keyed object and replace its key by
given key.
|
public static <T extends Iced> T clone(T iced)
public static <T extends Keyed> T clone(T keyed, Key<T> newKey)
T - the type of the objectkeyed - keyed object to be clonednewKey - key for cloned object.public static <T extends Keyed> T clone(T keyed, Key<T> newKey, boolean publish)
T - the type of the objectkeyed - keyed object to be clonednewKey - key for cloned object.publish - publish object into DKV