org.eclipse.net4j.util.container.delegate
Class ContainerSet<E>
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.container.delegate.AbstractDelegator<E>
org.eclipse.net4j.util.container.delegate.ContainerCollection<E>
org.eclipse.net4j.util.container.delegate.ContainerSet<E>
- All Implemented Interfaces:
- Iterable<E>, Collection<E>, Set<E>, IContainerCollection<E>, IContainerSet<E>, IContainer<E>, INotifier
- Direct Known Subclasses:
- ContainerSortedSet
- public class ContainerSet<E>
- extends ContainerCollection<E>
- implements IContainerSet<E>
A default implementation of a container set
.
Methods inherited from class org.eclipse.net4j.util.container.delegate.ContainerCollection |
add, addAll, clear, contains, containsAll, equals, getElements, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from class org.eclipse.net4j.util.event.Notifier |
addListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
ContainerSet
public ContainerSet(Set<E> delegate)
getDelegate
public Set<E> getDelegate()
- Specified by:
getDelegate
in interface IContainerCollection<E>
- Specified by:
getDelegate
in interface IContainerSet<E>
- Overrides:
getDelegate
in class ContainerCollection<E>
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.