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 AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractList
add, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface 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
-