Modifier and Type | Method and Description |
---|---|
List<Object> |
asList()
|
default Iterator<Object> |
iterator()
|
Object |
nth(int index)
Get the item stored at the given index.
|
int |
size() |
forEach, spliterator
Object nth(int index)
index
- The index of the item to retrieve.null
IndexOutOfBoundsException
- if the index is greater than the size.int size()
Tuple
Copyright © 2019–2020 SmallRye. All rights reserved.