bibliothek.util.container
Class Triple<A,B,C>
java.lang.Object
bibliothek.util.container.Single<A>
bibliothek.util.container.Tuple<A,B>
bibliothek.util.container.Triple<A,B,C>
- Type Parameters:
A
- type of the first fieldB
- type of the second fieldC
- type of the third field
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- Quartuple
public class Triple<A,B,C>
- extends Tuple<A,B>
An object containing three generic fields.
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.util.container.Tuple |
getB, setB |
Methods inherited from class bibliothek.util.container.Single |
getA, setA |
Triple
public Triple()
Triple
public Triple(A a,
B b,
C c)
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(Object o)
- Overrides:
equals
in class Tuple<A,B>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Tuple<A,B>
toString
public String toString()
- Overrides:
toString
in class Tuple<A,B>