|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the member type.public interface ExtendedList<T>
A slightly extended Iterable.
| Method Summary | ||
|---|---|---|
FilteredList<T> |
filtered(Filter<? super T> filter)
Convenience method returning a filtered view on this collection. |
|
|
mapped(Function<? super T,O> function)
Convenience method returning a TransformedList view to this
list. |
|
T[] |
toArray(Class<T> c)
|
|
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Method Detail |
|---|
T[] toArray(Class<T> c)
c - the element type for the new array
FilteredList<T> filtered(Filter<? super T> filter)
filter - the filter deciding which elements are included<O> TransformedList<T,O> mapped(Function<? super T,O> function)
TransformedList view to this
list.
function - the transformation function to apply to each element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||