Package groovy.lang
Class Tuple2<T1,T2>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
groovy.lang.Tuple
groovy.lang.Tuple2<T1,T2>
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- java.lang.Comparable,- java.lang.Iterable,- java.util.Collection,- java.util.List
public final class Tuple2<T1,T2> extends Tuple
Represents a list of 2 typed Objects.
- See Also:
- Serialized Form
- 
Field SummaryFields inherited from class java.util.AbstractListmodCount
- 
Constructor Summary
- 
Method SummaryMethods inherited from class groovy.lang.TuplecompareTo, equals, get, hashCode, size, subList, subTuple, toArray, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tupleMethods inherited from class java.util.AbstractListadd, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setMethods inherited from class java.util.AbstractCollectionaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toStringMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.lang.IterableforEachMethods inherited from interface java.util.ListaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray