public class Tuples extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Tuples.T1<V> |
static interface |
Tuples.T2<V1,V2> |
static interface |
Tuples.T3<V1,V2,V3> |
static interface |
Tuples.T4<V1,V2,V3,V4> |
static interface |
Tuples.T5<V1,V2,V3,V4,V5> |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
fifth(Tuples.T5<?,?,?,?,T> t) |
static <T> T |
first(Tuples.T1<T> t) |
static <T> T |
fourth(Tuples.T4<?,?,?,T> t) |
static <F,S> Tuples.T2<F,S> |
of(F first,
S second) |
static <F,S,T> Tuples.T3<F,S,T> |
of(F first,
S second,
T third) |
static <T> Tuples.T1<T> |
of(T t) |
static <V1,V2,V3,V4> |
of(V1 first,
V2 second,
V3 third,
V4 fourth) |
static <V1,V2,V3,V4,V5> |
of(V1 first,
V2 second,
V3 third,
V4 fourth,
V5 fifth) |
static <T> T |
second(Tuples.T2<?,T> t) |
static <T> T |
third(Tuples.T3<?,?,T> t) |
public static <T> Tuples.T1<T> of(T t)
public static <F,S> Tuples.T2<F,S> of(F first, S second)
public static <F,S,T> Tuples.T3<F,S,T> of(F first, S second, T third)
public static <V1,V2,V3,V4> Tuples.T4<V1,V2,V3,V4> of(V1 first, V2 second, V3 third, V4 fourth)
public static <V1,V2,V3,V4,V5> Tuples.T5<V1,V2,V3,V4,V5> of(V1 first, V2 second, V3 third, V4 fourth, V5 fifth)
public static <T> T first(Tuples.T1<T> t)
public static <T> T second(Tuples.T2<?,T> t)
public static <T> T third(Tuples.T3<?,?,T> t)
public static <T> T fourth(Tuples.T4<?,?,?,T> t)
public static <T> T fifth(Tuples.T5<?,?,?,?,T> t)
Copyright © 2017. All rights reserved.