ostore.util
Class Triple

java.lang.Object
  |
  +--ostore.util.Triple

public class Triple
extends Object

A tuple with 3 elements.


Constructor Summary
Triple(Object first, Object second, Object third)
           
 
Method Summary
 boolean equals(Object other)
           
 Object first()
           
 int hashCode()
           
 Object second()
           
 void setFirst(Object first)
           
 void setSecond(Object second)
           
 void setThird(Object third)
           
 Object third()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Triple

public Triple(Object first,
              Object second,
              Object third)
Method Detail

first

public Object first()

second

public Object second()

third

public Object third()

setFirst

public void setFirst(Object first)

setSecond

public void setSecond(Object second)

setThird

public void setThird(Object third)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object