Groovy 2.2.1

groovy.lang
[Java] Class Tuple

java.lang.Object
  java.util.AbstractCollection
      java.util.AbstractList
          groovy.lang.Tuple

public class Tuple
extends AbstractList

Represents a list of Objects.

Authors:
James Strachan
Version:
\$Revision\$


Constructor Summary
Tuple(Object[] contents)

 
Method Summary
boolean equals(Object that)

boolean equals(Tuple that)

Object get(int index)

int hashCode()

int size()

List subList(int fromIndex, int toIndex)

 
Methods inherited from class AbstractList
add, add, remove, get, equals, hashCode, indexOf, clear, lastIndexOf, subList, addAll, iterator, set, listIterator, listIterator, remove, toString, contains, isEmpty, size, toArray, toArray, addAll, retainAll, containsAll, removeAll, wait, wait, wait, getClass, notify, notifyAll, size
 
Methods inherited from class AbstractCollection
add, remove, toString, clear, contains, isEmpty, size, toArray, toArray, addAll, iterator, retainAll, containsAll, removeAll, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 

Constructor Detail

Tuple

public Tuple(Object[] contents)


 
Method Detail

equals

public boolean equals(Object that)


equals

public boolean equals(Tuple that)


get

public Object get(int index)


hashCode

public int hashCode()


size

public int size()


subList

public List subList(int fromIndex, int toIndex)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.