org.openmdx.base.collection
Class FilteringList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList
org.openmdx.base.collection.FilteringList
- All Implemented Interfaces:
- Iterable, Collection, List
public class FilteringList
- extends AbstractSequentialList
- Author:
- hburger
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
list
protected List list
selector
protected Selector selector
FilteringList
public FilteringList(List list,
Selector selector)
- The method accept must be overridden if selector is null.
- Parameters:
list - selector -
FilteringList
protected FilteringList(List list)
- The subclass must implement the Selector interface.
- Parameters:
list - selector - exception ClassCastException if the subclass is not an instance
of Selector
removeInternal
protected void removeInternal(Object object,
ListIterator iterator)
throws ServiceException
- Interceptable remove
- Parameters:
object - iterator -
- Throws:
ServiceException
listIterator
public ListIterator listIterator(int index)
- Specified by:
listIterator in interface List- Specified by:
listIterator in class AbstractSequentialList
size
public int size()
- Specified by:
size in interface Collection- Specified by:
size in interface List- Specified by:
size in class AbstractCollection
contains
public boolean contains(Object object)
- Specified by:
contains in interface Collection- Specified by:
contains in interface List- Overrides:
contains in class AbstractCollection
acceptAll
protected boolean acceptAll()
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.