Class Tuple
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
groovy.lang.Tuple
- All Implemented Interfaces:
Iterable, Collection, List, SequencedCollection
Represents a list of Objects.
- Version:
- $Revision$
- Author:
- James Strachan
-
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, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Constructor Details
-
Tuple
-
-
Method Details
-
get
- Specified by:
getin interfaceList- Specified by:
getin classAbstractList
-
size
public int size()- Specified by:
sizein interfaceCollection- Specified by:
sizein interfaceList- Specified by:
sizein classAbstractCollection
-
equals
- Specified by:
equalsin interfaceCollection- Specified by:
equalsin interfaceList- Overrides:
equalsin classAbstractList
-
equals
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection- Specified by:
hashCodein interfaceList- Overrides:
hashCodein classAbstractList
-
subList
- Specified by:
subListin interfaceList- Overrides:
subListin classAbstractList
-