public class EclipseCollectionsMultiset<T> extends EclipseCollectionsBagMemory<T> implements IMultiset<T>
| Constructor and Description |
|---|
EclipseCollectionsMultiset() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addOne(T value)
Adds one value occurrence to the memory.
|
boolean |
addPositive(T value,
int count)
Adds the given number of occurrences to the memory.
|
boolean |
addSigned(T value,
int count)
Adds the given number of occurrences to the memory.
|
boolean |
removeOne(T value)
Removes one occurrence of the given value from the memory.
|
clearAllOf, containsNonZero, getCount, iterator, toStringaddToValue, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, clear, collect, compact, contains, containsAll, containsAll, containsKey, containsValue, count, detectIfNone, each, equals, forEach, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getIfAbsentPut, getIfAbsentPut, getIfAbsentPutWith, getIfAbsentPutWithKey, getOrThrow, hashCode, injectInto, intIterator, isEmpty, keySet, keysView, keyValuesView, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, newMap, newWithKeysValues, newWithKeysValues, newWithKeysValues, newWithKeysValues, noneSatisfy, notEmpty, put, putAll, readExternal, reject, reject, remove, removeKey, removeKeyIfAbsent, select, select, size, sum, toArray, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, updateValue, values, withKeysValues, withKeysValues, withKeysValues, withKeyValue, withoutAllKeys, withoutKey, writeExternalclone, finalize, getClass, notify, notifyAll, wait, wait, waitclear, clearAllOf, containsNonZero, getCount, isEmpty, keySet, sizepublic boolean addOne(T value)
IMemorypublic boolean addPositive(T value, int count)
IMultisetaddPositive in interface IMultiset<T>count - the number of occurrencespublic boolean addSigned(T value, int count)
IMemory Precondition if IMultiset: at least the given amount of occurrences exist, if count is negative.