Object elements.
Not #ThreadSafe#
| Modifier and Type | Field and Description |
|---|---|
| public static final MutableTriple | EMPTY_ARRAY
The empty array singleton.
|
| public L | left
Left object. |
| public M | middle
Middle object. |
| public R | right
Right object. |
| private static final long | serialVersionUID
Hides org. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | MutableTriple(final L
the left value, may be null. left, final M the middle value, may be null. middle, final R the right value, may be null. right)Create a new triple instance. |
| Modifier and Type | Method and Description |
|---|---|
| public static < the left element type. L, the middle element type. M, the right element type. R> MutableTriple | Returns: the empty array singleton that can be assigned without compiler warning.Hides org. Returns the empty array singleton that can be assigned without compiler warning. |
| public L | getLeft()
Implements abstract org. Gets the left element from this triple. |
| public M | getMiddle()
Implements abstract org. Gets the middle element from this triple. |
| public R | getRight()
Implements abstract org. Gets the right element from this triple. |
| public static < the left element type. L, the middle element type. M, the right element type. R> MutableTriple | Returns: a mutable triple formed from the three parameters, not null.the left element, may be null. left, final M the middle element, may be null. middle, final R the right element, may be null. right)Hides org. Obtains a mutable triple of three objects inferring the generic types. |
| public static < the left element type. L, the middle element type. M, the right element type. R> MutableTriple | Returns: a mutable triple formed from the three parameters, not null.the left element, may not be null. left, final M the middle element, may not be null. middle, final R the right element, may not be null. right)Hides org. Obtains a mutable triple of three non-null objects inferring the generic types. |
| public void | setLeft(final L
the new value of the left element, may be null. left)Sets the left element of the triple. |
| public void | setMiddle(final M
the new value of the middle element, may be null. middle)Sets the middle element of the triple. |
| public void | setRight(final R
the new value of the right element, may be null. right)Sets the right element of the triple. |
| EMPTY_ARRAY | back to summary |
|---|---|
| public static final MutableTriple<?, ?, ?>[] EMPTY_ARRAY Hides org. The empty array singleton.
Consider using
| |
| left | back to summary |
|---|---|
| public L left Left object. | |
| middle | back to summary |
|---|---|
| public M middle Middle object. | |
| right | back to summary |
|---|---|
| public R right Right object. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. Serialization version | |
| MutableTriple | back to summary |
|---|---|
| public MutableTriple() Create a new triple instance of three nulls. | |
| MutableTriple | back to summary |
|---|---|
| public MutableTriple(final L left, final M middle, final R right) Create a new triple instance.
| |
| emptyArray | back to summary |
|---|---|
| public static <L, M, R> MutableTriple Hides org. Returns the empty array singleton that can be assigned without compiler warning.
| |
| getLeft | back to summary |
|---|---|
| public L getLeft() Implements abstract org. Doc from org. Gets the left element from this triple.
| |
| getMiddle | back to summary |
|---|---|
| public M getMiddle() Implements abstract org. Doc from org. Gets the middle element from this triple.
| |
| getRight | back to summary |
|---|---|
| public R getRight() Implements abstract org. Doc from org. Gets the right element from this triple.
| |
| of | back to summary |
|---|---|
| public static <L, M, R> MutableTriple Hides org. Obtains a mutable triple of three objects inferring the generic types.
| |
| ofNonNull | back to summary |
|---|---|
| public static <L, M, R> MutableTriple Hides org. Obtains a mutable triple of three non-null objects inferring the generic types.
| |
| setLeft | back to summary |
|---|---|
| public void setLeft(final L left) Sets the left element of the triple.
| |
| setMiddle | back to summary |
|---|---|
| public void setMiddle(final M middle) Sets the middle element of the triple.
| |
| setRight | back to summary |
|---|---|
| public void setRight(final R right) Sets the right element of the triple.
| |