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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017