| Modifier and Type | Field and Description |
|---|---|
| private final List | source
The list to transform. |
| private final Function | transform
Converts elements to the new type. |
| Access | Constructor and Description |
|---|---|
| pack-priv | TransformingList(final List<? extends FROM>
the list to transform source, final Function<? super FROM, ? extends TO> transforms elements to the output type transform)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public TO | get(final int
index of the element to return index)Implements abstract java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| source | back to summary |
|---|---|
| private final List<? extends FROM> source The list to transform. | |
| transform | back to summary |
|---|---|
| private final Function<? super FROM, ? extends TO> transform Converts elements to the new type. | |
| TransformingList | back to summary |
|---|---|
| pack-priv TransformingList(final List<? extends FROM> source, final Function<? super FROM, ? extends TO> transform) Creates a new | |
| get | back to summary |
|---|---|
| public TO get(final int index) Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |