Tuple, Serializablepublic class EasyTuple5<T> extends Tuple5<T,T,T,T,T>
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
private static long |
serialVersionUID |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
T |
__(String alias) |
Get tuple element value by alias, it will throw
AliasNotFoundException when alias not found.通过别名获取元组元素的值,如果不存在该别名,将抛出异常 AliasNotFoundException。 |
EasyTuple5<T> |
alias(String... aliases) |
Setting tuple's aliases.
|
T |
element(int n) |
The nth element of this tuple
从元组中取第n个元素 |
Tuple2<String,T> |
elementWithAlias(int n) |
The nth element with alias of this tuple
从元组中取第n个元素(带别名) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsAlias, getAliases, toStringprivate static final long serialVersionUID
public T __(String alias)
TupleAliasNotFoundException when alias not found.public EasyTuple5<T> alias(String... aliases)
TupleTuple.arity() , will throw NumberOfAliasesExceptionNumberOfAliasesExceptionpublic Tuple2<String,T> elementWithAlias(int n)
TupleelementWithAlias 在接口中 TupleelementWithAlias 在类中 TupleBasen - index 序号Copyright © 2021. All rights reserved.