org.eclipse.gemini.blueprint.service.importer.support.internal.collection
Class DynamicSet<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.DynamicSet<E>
- All Implemented Interfaces:
- Iterable<E>, Collection<E>, Set<E>
- Direct Known Subclasses:
- DynamicSortedSet
public class DynamicSet<E>
- extends DynamicCollection<E>
- implements Set<E>
Wrapper extension to DynamicCollection
which prevents duplicates.
- Author:
- Costin Leau
- See Also:
DynamicCollection
,
Set
Methods inherited from class org.eclipse.gemini.blueprint.service.importer.support.internal.collection.DynamicCollection |
add, clear, contains, containsAll, indexOf, isEmpty, iterator, remove, remove, size, toArray, toArray, toString |
Methods inherited from interface java.util.Set |
clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
DynamicSet
public DynamicSet()
DynamicSet
public DynamicSet(Collection<? extends E> c)
DynamicSet
public DynamicSet(int size)
add
public boolean add(E o)
- Specified by:
add
in interface Collection<E>
- Specified by:
add
in interface Set<E>
- Overrides:
add
in class DynamicCollection<E>
addAll
public boolean addAll(Collection<? extends E> c)
- Specified by:
addAll
in interface Collection<E>
- Specified by:
addAll
in interface Set<E>
- Overrides:
addAll
in class DynamicCollection<E>
Copyright © 2006-2013. All Rights Reserved.