Package org.eclipse.hono.util
Class TriTuple<A,B,C>
java.lang.Object
org.eclipse.hono.util.TriTuple<A,B,C>
- Type Parameters:
A
- The type of the first value.B
- The type of the second value.C
- The type of the third value.
A tuple of three values of arbitrary type.
-
Method Summary
-
Method Details
-
of
Creates a new tuple for values of arbitrary type.- Type Parameters:
A
- The type of the first value.B
- The type of the second value.C
- The type of the third value.- Parameters:
one
- First value.two
- Second value.three
- Third value.- Returns:
- The tuple.
- Throws:
IllegalArgumentException
- if all values arenull
.
-
one
- Returns:
- The one.
-
two
- Returns:
- The two.
-
three
- Returns:
- The three.
-
toString
-
hashCode
public int hashCode() -
equals
-