Class T2<V1,V2>
- java.lang.Object
-
- org.apache.ignite.lang.IgniteBiTuple<V1,V2>
-
- org.apache.ignite.internal.util.typedef.T2<V1,V2>
-
- All Implemented Interfaces:
Externalizable,Serializable,Cloneable,Iterable<Object>,Map<V1,V2>,Map.Entry<V1,V2>
public class T2<V1,V2> extends IgniteBiTuple<V1,V2>
DefinesaliasforIgniteBiTupleby 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 seeIgniteBiTuple.- See Also:
GridFunc,GridTuple, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description T2()Empty constructor required byExternalizable.T2(V1 val1, V2 val2)Fully initializes this tuple.
-
Method Summary
-
Methods inherited from class org.apache.ignite.lang.IgniteBiTuple
clear, clone, containsKey, containsValue, entrySet, equals, get, get1, get2, getKey, getValue, hashCode, isEmpty, iterator, keySet, put, putAll, readExternal, remove, set, set1, set2, setValue, size, swap, toString, values, writeExternal
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
T2
public T2()
Empty constructor required byExternalizable.
-
-