T - The type of the iterated elements.public final class Seq<T>
extends java.lang.Object
implements java.lang.Iterable<T>
Iterable sequence of values.| Constructor and Description |
|---|
Seq(int count,
T[] values)
Creates an
Iterable of the first count elements of the given array. |
Seq(T... values)
Creates an
Iterable of the given elements. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<T> |
iterator() |