org.apache.hadoop.hbase.util
Class Triple<A,B,C>

java.lang.Object
  extended by org.apache.hadoop.hbase.util.Triple<A,B,C>

public class Triple<A,B,C>
extends Object

Utility class to manage a triple.


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

Constructor Detail

Triple

public Triple(A first,
              B second,
              C third)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object

getFirst

public A getFirst()

setFirst

public void setFirst(A first)

getSecond

public B getSecond()

setSecond

public void setSecond(B second)

getThird

public C getThird()

setThird

public void setThird(C third)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.