bibliothek.util.container
Class Triple<A,B,C>

java.lang.Object
  extended by bibliothek.util.container.Single<A>
      extended by bibliothek.util.container.Tuple<A,B>
          extended by bibliothek.util.container.Triple<A,B,C>
Direct Known Subclasses:
Quartuple

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

Author:
Benjamin Sigg

Field Summary
private  C c
           
 
Constructor Summary
Triple()
           
Triple(A a, B b, C c)
           
 
Method Summary
 Triple<A,B,C> clone()
           
 boolean equals(java.lang.Object o)
           
 C getC()
           
 int hashCode()
           
 void setC(C c)
           
 java.lang.String toString()
           
 
Methods inherited from class bibliothek.util.container.Tuple
getB, setB
 
Methods inherited from class bibliothek.util.container.Single
getA, setA
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

c

private C c
Constructor Detail

Triple

public Triple()

Triple

public Triple(A a,
              B b,
              C c)
Method Detail

setC

public void setC(C c)

getC

public C getC()

clone

public Triple<A,B,C> clone()
Overrides:
clone in class Tuple<A,B>

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class Tuple<A,B>

hashCode

public int hashCode()
Overrides:
hashCode in class Tuple<A,B>

toString

public java.lang.String toString()
Overrides:
toString in class Tuple<A,B>