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 booleanequals(Object other)Override of equals.TgetFirst()Get the first member of the tuple.UgetSecond()Get the second member of the tuple.VgetThird()Get the third member of the tuple.inthashCode()Override of hashCode.StringtoString()
-
-
-
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:
toStringin classObject- See Also:
Object.toString()
-
-