public class ImmutableTriple<F,S,T> extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected F |
first |
protected S |
second |
protected T |
third |
Modifier | Constructor and Description |
---|---|
protected |
ImmutableTriple() |
Modifier and Type | Method and Description |
---|---|
F |
getLeft() |
S |
getMiddle() |
T |
getRight() |
static <F,S,T> ImmutableTriple<F,S,T> |
of(F first,
S second,
T third) |
static <F,S,T> ImmutableTriple<F,S,T> |
tripleOf(F first,
S second,
T third) |
public F getLeft()
public S getMiddle()
public T getRight()
public static <F,S,T> ImmutableTriple<F,S,T> tripleOf(F first, S second, T third)
public static <F,S,T> ImmutableTriple<F,S,T> of(F first, S second, T third)
Copyright © 2020. All rights reserved.