public static class DALCollection.Decorated<E> extends DALCollection<E>
DALCollection.Decorated<E>| Constructor and Description |
|---|
Decorated(DALCollection<E> origin) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<E> |
collect() |
protected int |
firstIndex() |
protected E |
getByPosition(int position) |
java.util.stream.Stream<java.lang.Integer> |
indexes() |
boolean |
infinite() |
java.util.Iterator<IndexedElement<E>> |
iterator() |
DALCollection<E> |
requireLimitedCollection(java.lang.String message) |
int |
size() |
java.util.stream.Stream<E> |
values() |
getByIndex, map, streampublic Decorated(DALCollection<E> origin)
public int size()
size in class DALCollection<E>protected E getByPosition(int position)
getByPosition in class DALCollection<E>public java.util.Iterator<IndexedElement<E>> iterator()
protected int firstIndex()
firstIndex in class DALCollection<E>public java.util.List<E> collect()
collect in class DALCollection<E>public boolean infinite()
infinite in class DALCollection<E>public java.util.stream.Stream<E> values()
values in class DALCollection<E>public java.util.stream.Stream<java.lang.Integer> indexes()
indexes in class DALCollection<E>public DALCollection<E> requireLimitedCollection(java.lang.String message)
requireLimitedCollection in class DALCollection<E>