Class T1<V>
- java.lang.Object
-
- org.apache.ignite.internal.util.lang.GridTuple<V>
-
- org.apache.ignite.internal.util.typedef.T1<V>
-
- Type Parameters:
V- Type of the free variable.
- All Implemented Interfaces:
Externalizable,Serializable,Cloneable,Iterable<V>
public class T1<V> extends GridTuple<V>
DefinesaliasforGridTupleby extending it. Since Java doesn't provide type aliases (like Scala, for example) we resort to these types of measures. This is intended to provide for more concise code in cases when readability won't be sacrificed. For more information seeGridTuple.- See Also:
GridFunc,GridTuple, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description T1()Empty constructor required byExternalizable.T1(V val)Constructs mutable object with given value.
-
Method Summary
-
Methods inherited from class org.apache.ignite.internal.util.lang.GridTuple
clone, equals, get, hashCode, iterator, readExternal, set, toString, writeExternal
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
T1
public T1()
Empty constructor required byExternalizable.
-
T1
public T1(V val)
Constructs mutable object with given value.- Parameters:
val- Wrapped value.
-
-