com.senn.magic.collections
Class ChainableTreeSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.TreeSet<E>
com.senn.magic.collections.ChainableTreeSet<E>
- All Implemented Interfaces:
- ChainableSet<E>, Serializable, Cloneable, Iterable<E>, Collection<E>, NavigableSet<E>, Set<E>, SortedSet<E>
public class ChainableTreeSet<E>
- extends TreeSet<E>
- implements ChainableSet<E>
TreeSet
implementation of ChainableSet
- Since:
- 3.5
- Author:
- Bart Thierens
Last modification: 23/01/2011
- See Also:
- Serialized Form
Methods inherited from class java.util.TreeSet |
add, addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, subSet, subSet, tailSet, tailSet |
ChainableTreeSet
public ChainableTreeSet()
ChainableTreeSet
public ChainableTreeSet(SortedSet<E> s)
ChainableTreeSet
public ChainableTreeSet(Collection<? extends E> c)
ChainableTreeSet
public ChainableTreeSet(Comparator<? super E> comparator)
delete
public ChainableSet<E> delete(Object o)
- Specified by:
delete
in interface ChainableSet<E>
- Returns:
- See Also:
Set.remove(Object)
deleteAll
public ChainableSet<E> deleteAll(Collection<?> c)
- Specified by:
deleteAll
in interface ChainableSet<E>
- Returns:
- See Also:
Set.removeAll(Collection)
empty
public ChainableSet<E> empty()
- Specified by:
empty
in interface ChainableSet<E>
- Returns:
- See Also:
Set.clear()
keepAll
public ChainableSet<E> keepAll(Collection<?> c)
- Specified by:
keepAll
in interface ChainableSet<E>
- Returns:
- See Also:
Set.retainAll(Collection)
put
public ChainableSet<E> put(E e)
- Specified by:
put
in interface ChainableSet<E>
- Returns:
- See Also:
Set.add(Object)
putAll
public ChainableSet<E> putAll(Collection<? extends E> c)
- Specified by:
putAll
in interface ChainableSet<E>
- Returns:
- See Also:
Set.addAll(Collection)