org.openmdx.base.collection
Class MergingList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList
org.openmdx.base.collection.MergingList
- All Implemented Interfaces:
- Iterable, Collection, List
public class MergingList
- extends AbstractSequentialList
- Author:
- hburger
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
lists
protected List[] lists
comparator
protected Comparator comparator
MergingList
public MergingList(List x,
List y,
Comparator comparator)
- The method accept must be overridden if selector is null.
- Parameters:
list - selector -
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
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Collection- Specified by:
isEmpty in interface List- Overrides:
isEmpty in class AbstractCollection
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.