edu.harvard.seas.iis.util
Class Tuple

java.lang.Object
  extended by edu.harvard.seas.iis.util.Tuple
All Implemented Interfaces:
Serializable

public class Tuple
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Tuple(Object o1, Object o2)
           
Tuple(Object o1, Object o2, Object o3)
           
Tuple(Object o1, Object o2, Object o3, Object o4)
           
 
Method Summary
 boolean equals(Object o)
           
 Object get(int i)
           
 int getInt(int i)
           
 int hashCode()
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tuple

public Tuple(Object o1,
             Object o2)

Tuple

public Tuple(Object o1,
             Object o2,
             Object o3)

Tuple

public Tuple(Object o1,
             Object o2,
             Object o3,
             Object o4)
Method Detail

get

public Object get(int i)

getInt

public int getInt(int i)

size

public int size()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object