public interface ISetMemory<T> extends IMemory<T>
IMemory
that always contains values with a 0 or +1 multiplicity.
In case a write operation causes underflow or overflow, an IllegalStateException
is thrown.
Modifier and Type | Method and Description |
---|---|
default void |
forEachEntryWithMultiplicities(java.util.function.BiConsumer<T,java.lang.Integer> entryConsumer) |
addOne, addSigned, clear, clearAllOf, removeOne
asMap, containsNonZero, containsNonZeroUnsafe, distinctValues, entriesWithMultiplicities, equals, fromMap, getCount, getCountUnsafe, hashCode, isEmpty, size, theContainedVersionOf, theContainedVersionOfUnsafe
default void forEachEntryWithMultiplicities(java.util.function.BiConsumer<T,java.lang.Integer> entryConsumer)
forEachEntryWithMultiplicities
in interface IMemoryView<T>