ch.elca.el4j.util.collections
Interface FilteredList<T>

Type Parameters:
T - the element type
All Superinterfaces:
Collection<T>, ExtendedList<T>, Iterable<T>, List<T>
All Known Implementing Classes:
DefaultFilteredList

public interface FilteredList<T>
extends ExtendedList<T>

A view on a backing List showing only the elements accepted by a filter. It may be iterated over (for instance using the extended for-statement). Alternatively, you may copy its contents to an array or an ExtendedArrayList (see ExtendedArrayList(Iterable)

Author:
Adrian Moos (AMS)
File-location:
FilteredList
Last check-in date:
2009-08-04 14:35:53 +0200 (Di, 04. Aug 2009) by swismer for revision 3875

Method Summary
 ListIterator<T> listIterator(ListIterator<? extends T> location)
          Returns a BiDiIterator for this collection pointing at the place corresponding to location.
 
Methods inherited from interface ch.elca.el4j.util.collections.ExtendedList
filtered, mapped, toArray
 
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

listIterator

ListIterator<T> listIterator(ListIterator<? extends T> location)
Returns a BiDiIterator for this collection pointing at the place corresponding to location.

Parameters:
location - An iterator for the backing collection. This reference may be captured, i.e. it shouldn't be be used in client code afterwards.
Returns:
The iterator


Copyright © 2005-2011 ELCA. All Rights Reserved.