public class GridTuple<V> extends Object implements Iterable<V>, Cloneable, Externalizable
| Constructor and Description |
|---|
GridTuple()
Empty constructor required by
Externalizable. |
GridTuple(V val)
Constructs mutable object with given value.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object obj) |
V |
get()
Gets value.
|
int |
hashCode() |
Iterator<V> |
iterator() |
void |
readExternal(ObjectInput in) |
void |
set(V val)
Sets value.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public GridTuple()
Externalizable.public GridTuple(@Nullable
V val)
val - Wrapped value.@Nullable public V get()
public void set(@Nullable
V val)
val - Value to set.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 1.7.0 Release Date : August 1 2016