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

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

@InterfaceAudience.Private
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
static
<A,B,C> Triple<A,B,C>
create(A first, B second, C third)
           
 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

create

public static <A,B,C> Triple<A,B,C> create(A first,
                                           B second,
                                           C third)

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 © 2015 The Apache Software Foundation. All Rights Reserved.