Package groovy.lang
Class Tuple2<T1,T2>
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
groovy.lang.Tuple
groovy.lang.Tuple2<T1,T2>
- All Implemented Interfaces:
Iterable,Collection,List,SequencedCollection
Represents a list of 2 typed Objects.
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Constructor Details
-
Tuple2
-
-
Method Details
-
getFirst
-
getSecond
-