T - the value typepublic final class PartialIterable<T>
extends java.lang.Object
implements java.lang.Iterable<T>
| Constructor and Description |
|---|
PartialIterable(int from,
T[] ts,
int to)
Constructor, initalizes the fields.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<T> |
iterator() |
public PartialIterable(int from,
T[] ts,
int to)
from - the source index, inclusivets - the array of valuesto - the destination index, exclusive