public class Quintuple<T1,T2,T3,T4,T5> extends java.lang.Object implements java.lang.Comparable<Quintuple<T1,T2,T3,T4,T5>>, java.io.Serializable, PrettyLoggable
Modifier and Type | Field and Description |
---|---|
T5 |
fifth |
T1 |
first |
T4 |
fourth |
T2 |
second |
T3 |
third |
Constructor and Description |
---|
Quintuple(T1 first,
T2 second,
T3 third,
T4 fourth,
T5 fifth) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
asList() |
int |
compareTo(Quintuple<T1,T2,T3,T4,T5> another) |
boolean |
equals(java.lang.Object o) |
T5 |
fifth() |
T1 |
first() |
T4 |
fourth() |
int |
hashCode() |
static <T1,T2,T3,T4,T5> |
makeQuadruple(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5)
Returns a Quadruple constructed from T1, T2, T3, and T4.
|
void |
prettyLog(Redwood.RedwoodChannels channels,
java.lang.String description)
Pretty logs the current object to specific Redwood channels.
|
T2 |
second() |
void |
setFifth(T5 fifth) |
void |
setFirst(T1 o) |
void |
setFourth(T4 o) |
void |
setSecond(T2 o) |
void |
setThird(T3 o) |
T3 |
third() |
java.lang.String |
toString() |
public T1 first
public T2 second
public T3 third
public T4 fourth
public T5 fifth
public T1 first()
public T2 second()
public T3 third()
public T4 fourth()
public T5 fifth()
public void setFirst(T1 o)
public void setSecond(T2 o)
public void setThird(T3 o)
public void setFourth(T4 o)
public void setFifth(T5 fifth)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static <T1,T2,T3,T4,T5> Quintuple<T1,T2,T3,T4,T5> makeQuadruple(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5)
public java.util.List<java.lang.Object> asList()
public void prettyLog(Redwood.RedwoodChannels channels, java.lang.String description)
prettyLog
in interface PrettyLoggable
channels
- the channels which should be logged to -- all logging calls should
use logging methods on the channels (e.g. channels.log(), etc.)description
- The description of the object. It will potentially identify the
object's functional role or (failing that) its class. This is
typically used as a track name surrounding the contents of this
object.