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>
Type Parameters:
A - type of the first field
B - type of the second field
C - type of the third field
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
Quartuple

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

An object containing three generic fields.

Author:
Benjamin Sigg

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
 

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>