org.eclipse.gemini.blueprint.service.importer.support.internal.collection
Class DynamicSortedList<E>
java.lang.Object
java.util.AbstractCollection<E>
org.eclipse.gemini.blueprint.service.importer.support.internal.collection.DynamicCollection<E>
org.eclipse.gemini.blueprint.service.importer.support.internal.collection.DynamicList<E>
org.eclipse.gemini.blueprint.service.importer.support.internal.collection.DynamicSortedList<E>
- All Implemented Interfaces:
- Iterable<E>, Collection<E>, List<E>, RandomAccess
public class DynamicSortedList<E>
- extends DynamicList<E>
A specilized subtype of DynamicList which impose an order between its
elements.
- Author:
- Costin Leau
Methods inherited from class org.eclipse.gemini.blueprint.service.importer.support.internal.collection.DynamicCollection |
addAll, clear, contains, containsAll, isEmpty, iterator, remove, size, toArray, toArray, toString |
Methods inherited from interface java.util.List |
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
DynamicSortedList
public DynamicSortedList()
DynamicSortedList
public DynamicSortedList(Comparator<? super E> c)
DynamicSortedList
public DynamicSortedList(Collection<? extends E> c)
DynamicSortedList
public DynamicSortedList(int size)
add
public boolean add(E o)
- Specified by:
add
in interface Collection<E>
- Specified by:
add
in interface List<E>
- Overrides:
add
in class DynamicCollection<E>
add
public void add(int index,
E o)
- Specified by:
add
in interface List<E>
- Overrides:
add
in class DynamicList<E>
addAll
public boolean addAll(int index,
Collection<? extends E> c)
- Specified by:
addAll
in interface List<E>
- Overrides:
addAll
in class DynamicList<E>
set
public E set(int index,
E o)
- Specified by:
set
in interface List<E>
- Overrides:
set
in class DynamicList<E>
Copyright © 2006-2012. All Rights Reserved.