Package org.alfresco.util
Class Triple<T,U,V>
- java.lang.Object
-
- org.alfresco.util.Triple<T,U,V>
-
public final class Triple<T,U,V> extends Object
Utility class for containing three things that aren't like each other.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
Override of equals.T
getFirst()
Get the first member of the tuple.U
getSecond()
Get the second member of the tuple.V
getThird()
Get the third member of the tuple.int
hashCode()
Override of hashCode.String
toString()
-
-
-
Method Detail
-
getFirst
public T getFirst()
Get the first member of the tuple.- Returns:
- The first member.
-
getSecond
public U getSecond()
Get the second member of the tuple.- Returns:
- The second member.
-
getThird
public V getThird()
Get the third member of the tuple.- Returns:
- The third member.
-
equals
public boolean equals(Object other)
Override of equals.
-
toString
public String toString()
- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
-