public final class Tuple0 extends Tuple
| 构造器和说明 |
|---|
Tuple0() |
| 限定符和类型 | 方法和说明 |
|---|---|
Tuple0 |
copy()
Returns a copy of this instance.
|
<T> T |
get(int index)
Get the object at the given index.
|
Iterator<Object> |
iterator()
Return an immutable
Iterator<Object> around
the content of this Tuple. |
int |
length()
Returns int value of this tuple elements count.
|
static Tuple0 |
of() |
<T> void |
set(T value,
int index)
Set the value at the given index.
|
Spliterator<Object> |
spliterator() |
List<Object> |
toList()
Turn this
Tuple into a List<Object>. |
public static Tuple0 of()
public <T> T get(int index)
Tuplepublic <T> void set(T value,
int index)
Tuplepublic int length()
Tuplepublic List<Object> toList()
TupleTuple into a List<Object>.
The list isn't tied to this Tuple but is a copy with limited
mutability (add and remove are not supported, but set is).toList 在类中 TupleList<Object>.public Iterator<Object> iterator()
TupleIterator<Object> around
the content of this Tuple.public Spliterator<Object> spliterator()
spliterator 在接口中 Iterable<Object>spliterator 在类中 TupleCopyright © 2023. All rights reserved.