Package net.ontopia.topicmaps.nav2.utils
Class TreeWidget.UniversalSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
net.ontopia.utils.CompactHashSet
net.ontopia.topicmaps.nav2.utils.TreeWidget.UniversalSet
- All Implemented Interfaces:
Iterable,Collection,Set
- Enclosing class:
- TreeWidget
-
Field Summary
Fields inherited from class net.ontopia.utils.CompactHashSet
deletedObject, elements, freecells, INITIAL_SIZE, LOAD_FACTOR, modCount, nullObject, objects -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.ontopia.utils.CompactHashSet
add, clear, dump, isEmpty, iterator, rehash, rehash, remove, size, toArray, toArrayMethods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
addAll, containsAll, retainAll, spliterator
-
Constructor Details
-
UniversalSet
protected UniversalSet()
-
-
Method Details
-
contains
Description copied from class:CompactHashSetReturns true if this set contains the specified element.- Specified by:
containsin interfaceCollection- Specified by:
containsin interfaceSet- Overrides:
containsin classCompactHashSet- Parameters:
object- element whose presence in this set is to be tested.- Returns:
- true if this set contains the specified element.
-