T1 - type of the 1st element. 第1个元素的类型T2 - type of the 2nd element. 第2个元素的类型T3 - type of the 3rd element. 第3个元素的类型T4 - type of the 4th element. 第4个元素的类型T5 - type of the 5th element. 第5个元素的类型Tuple, SerializableEasyTuple5public class Tuple5<T1,T2,T3,T4,T5> extends TupleBase
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
T1 |
_1 |
The 1st element of this tuple.
|
T2 |
_2 |
The 2nd element of this tuple.
|
T3 |
_3 |
The 3rd element of this tuple.
|
T4 |
_4 |
The 4th element of this tuple.
|
T5 |
_5 |
The 5th element of this tuple.
|
private static long |
serialVersionUID |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Tuple5<T1,T2,T3,T4,T5> |
alias(String... aliases) |
Setting tuple's aliases.
|
int |
arity() |
The size of this Tuple.
元组的元素数量 |
<R> R |
element(int n) |
The nth element of this tuple
从元组中取第n个元素 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait__, containsAlias, elementWithAlias, getAliases, toStringprivate static final long serialVersionUID
public final T1 _1
public final T2 _2
public final T3 _3
public final T4 _4
public final T5 _5
public int arity()
Tuplepublic Tuple5<T1,T2,T3,T4,T5> alias(String... aliases)
TupleTuple.arity() , will throw NumberOfAliasesExceptionNumberOfAliasesExceptionpublic <R> R element(int n)
TupleR - return type 返回值类型n - index 序号Copyright © 2021. All rights reserved.