Class LinkedIdentityHashSet<V>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<V>
ai.timefold.solver.core.impl.util.LinkedIdentityHashSet<V>
- Type Parameters:
V-
- All Implemented Interfaces:
Iterable<V>,Collection<V>,Set<V>
This set does not support null keys.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, 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, isEmpty, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
LinkedIdentityHashSet
public LinkedIdentityHashSet()
-
-
Method Details
-
iterator
-
size
public int size()- Specified by:
sizein interfaceCollection<V>- Specified by:
sizein interfaceSet<V>- Specified by:
sizein classAbstractCollection<V>
-
contains
- Specified by:
containsin interfaceCollection<V>- Specified by:
containsin interfaceSet<V>- Overrides:
containsin classAbstractCollection<V>
-
add
- Specified by:
addin interfaceCollection<V>- Specified by:
addin interfaceSet<V>- Overrides:
addin classAbstractCollection<V>
-
remove
- Specified by:
removein interfaceCollection<V>- Specified by:
removein interfaceSet<V>- Overrides:
removein classAbstractCollection<V>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<V>- Specified by:
clearin interfaceSet<V>- Overrides:
clearin classAbstractCollection<V>
-