org.glassfish.pfl.basic.contain
Class Triple<S,T,U>
java.lang.Object
org.glassfish.pfl.basic.contain.Triple<S,T,U>
- Direct Known Subclasses:
- JUnitReportWriter.TestCounts
public class Triple<S,T,U>
- extends java.lang.Object
Represents a Triple of values. Used to return multiple values
and other similar uses.
|
Constructor Summary |
Triple(S first,
T second,
U third)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Triple
public Triple(S first,
T second,
U third)
first
public S first()
second
public T second()
third
public U third()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object