bibliothek.util.container
Class Quartuple<A,B,C,D>

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>
              extended by bibliothek.util.container.Quartuple<A,B,C,D>
Type Parameters:
A - type of the first field
B - type of the second field
C - type of the third field
D - type of the fourth field
All Implemented Interfaces:
java.lang.Cloneable

public class Quartuple<A,B,C,D>
extends Triple<A,B,C>

An object containing four generic fields.

Author:
Benjamin Sigg

Constructor Summary
Quartuple()
           
Quartuple(A a, B b, C c, D d)
           
 
Method Summary
 Quartuple<A,B,C,D> clone()
           
 boolean equals(java.lang.Object o)
           
 D getD()
           
 int hashCode()
           
 void setD(D d)
           
 java.lang.String toString()
           
 
Methods inherited from class bibliothek.util.container.Triple
getC, setC
 
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

Quartuple

public Quartuple()

Quartuple

public Quartuple(A a,
                 B b,
                 C c,
                 D d)
Method Detail

setD

public void setD(D d)

getD

public D getD()

clone

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

equals

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

hashCode

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

toString

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