[Java] Class Tuple

  • groovy.lang.Tuple

Represents a list of Objects.

Authors:
James Strachan

Constructor Summary

Constructors
Constructor and description
Tuple (Object[] contents)

Methods Summary

Methods
Type Params Return Type Name and description
boolean equals(Object o)
Object get(int index)
int hashCode()
int size()
List subList(int fromIndex, int toIndex)

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class AbstractList add, add, remove, get, equals, hashCode, indexOf, clear, iterator, lastIndexOf, subList, addAll, set, listIterator, listIterator, remove, toString, contains, isEmpty, size, toArray, toArray, addAll, containsAll, removeAll, retainAll, wait, wait, wait, getClass, notify, notifyAll, stream, removeIf, parallelStream, forEach, replaceAll, size, spliterator, sort
class AbstractCollection add, remove, toString, clear, contains, isEmpty, iterator, size, toArray, toArray, addAll, containsAll, removeAll, retainAll, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll, spliterator, stream, removeIf, parallelStream, forEach

Constructor Detail

public Tuple(Object[] contents)

Method Detail

@Override public boolean equals(Object o)

public Object get(int index)

@Override public int hashCode()

public int size()

@Override public List subList(int fromIndex, int toIndex)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/lang/Tuple.html