Tuple, Serializablepublic class Tuple0 extends TupleBase
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
private static Tuple0 |
INSTANCE |
|
private static long |
serialVersionUID |
| 限定符 | 构造器 | 说明 |
|---|---|---|
private |
Tuple0() |
Constructs a
Tuple0. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Tuple0 |
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个元素 |
static Tuple0 |
instance() |
Get the instance of Tuple0.
获取 Tuple0 的实例 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait__, containsAlias, elementWithAlias, getAliases, toStringprivate static final long serialVersionUID
private static final Tuple0 INSTANCE
public static Tuple0 instance()
public int arity()
Tuplepublic Tuple0 alias(String... aliases)
TupleTuple.arity() , will throw NumberOfAliasesExceptionNumberOfAliasesExceptionpublic <R> R element(int n)
TupleR - return type 返回值类型n - index 序号Copyright © 2021. All rights reserved.