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
protected class TreeWidget.UniversalSet extends CompactHashSet
-
-
Field Summary
-
Fields inherited from class net.ontopia.utils.CompactHashSet
deletedObject, elements, freecells, INITIAL_SIZE, LOAD_FACTOR, modCount, nullObject, objects
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UniversalSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(Object object)
Returns true if this set contains the specified element.-
Methods inherited from class net.ontopia.utils.CompactHashSet
add, clear, dump, isEmpty, iterator, rehash, rehash, remove, size, toArray, toArray
-
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.Set
addAll, containsAll, retainAll, spliterator
-
-
-
-
Method Detail
-
contains
public boolean contains(Object object)
Description copied from class:CompactHashSet
Returns true if this set contains the specified element.- Specified by:
contains
in interfaceCollection
- Specified by:
contains
in interfaceSet
- Overrides:
contains
in classCompactHashSet
- Parameters:
object
- element whose presence in this set is to be tested.- Returns:
- true if this set contains the specified element.
-
-