Package pascal.taie.util.collection
Class HybridIndexableSet<E extends Indexable>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
pascal.taie.util.collection.AbstractSetEx<E>
pascal.taie.util.collection.AbstractHybridSet<E>
pascal.taie.util.collection.HybridIndexableSet<E>
- All Implemented Interfaces:
Serializable
,Iterable<E>
,Collection<E>
,Set<E>
,SetEx<E>
,Copyable<SetEx<E>>
public class HybridIndexableSet<E extends Indexable>
extends AbstractHybridSet<E>
implements Serializable
Hybrid set that uses indexable set for large set.
- See Also:
-
Field Summary
Fields inherited from class pascal.taie.util.collection.AbstractHybridSet
isLargeSet, set, singleton
-
Constructor Summary
-
Method Summary
Methods inherited from class pascal.taie.util.collection.AbstractHybridSet
add, addAll, clear, contains, containsAll, equals, getThreshold, hashCode, isEmpty, iterator, newSmallSet, remove, removeAll, retainAll, size, toArray, toArray
Methods inherited from class pascal.taie.util.collection.AbstractSetEx
addAllDiff, copy, hasOverlapWith, newSet
Methods inherited from class java.util.AbstractCollection
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
spliterator
-
Constructor Details
-
HybridIndexableSet
public HybridIndexableSet(boolean isSparse)
-
-
Method Details
-
newLargeSet
Description copied from class:AbstractHybridSet
Creates a large set.- Specified by:
newLargeSet
in classAbstractHybridSet<E extends Indexable>
- Parameters:
unused
- initial capacity of the resulting set.
-