R
- The return type of get(int)
public interface BasicTuple<R>
Modifier and Type | Method and Description |
---|---|
R |
get(int index)
Gets the tuple element at the given index.
|
int |
length()
Returns the length of the Tuple.
|
<T> Stream<T> |
streamOf(Class<T> clazz)
Returns a
Stream of all non-null values for this Tuple of the
given class. |
int length()
R get(int index)
index
- of the element to getIndexOutOfBoundsException
- if
index < 0 || index >= length()
<T> Stream<T> streamOf(Class<T> clazz)
Stream
of all non-null values for this Tuple of the
given class. I.e. all non-null members of a Tuple that can be cast to the
given class are included in the Stream. If sequential, the Stream will
start with the 0:th tuple and progress upwards.T
- The type of streamclazz
- The class of the type of the streamStream
of all values for this Tuple of the given classCopyright © 2016 Speedment, Inc.. All rights reserved.