Class EclipseCollectionsDeltaBag<T>
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.ObjectIntHashMap<T>
tools.refinery.interpreter.matchers.util.EclipseCollectionsBagMemory<T>
tools.refinery.interpreter.matchers.util.EclipseCollectionsDeltaBag<T>
- All Implemented Interfaces:
Externalizable, Serializable, Iterable<T>, org.eclipse.collections.api.IntIterable, org.eclipse.collections.api.map.primitive.MutableObjectIntMap<T>, org.eclipse.collections.api.map.primitive.ObjectIntMap<T>, org.eclipse.collections.api.PrimitiveIterable, Clearable, IDeltaBag<T>, IMemory<T>, IMemoryView<T>
public class EclipseCollectionsDeltaBag<T>
extends EclipseCollectionsBagMemory<T>
implements IDeltaBag<T>
- Since:
- 1.7
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.collections.impl.map.mutable.primitive.ObjectIntHashMap
EMPTY_VALUE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class EclipseCollectionsBagMemory
clearAllOf, containsNonZero, containsNonZeroUnsafe, distinctValues, equals, forEachEntryWithMultiplicities, getCount, getCountUnsafe, hashCode, iterator, toStringMethods inherited from class org.eclipse.collections.impl.map.mutable.primitive.ObjectIntHashMap
addToValue, allocateTable, allSatisfy, allSatisfyKeyValue, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, chunk, clear, collect, compact, contains, containsAll, containsAll, containsKey, containsValue, count, detectIfNone, each, flipUniqueValues, forEachKey, forEachKeyValue, forEachValue, get, getAndPut, getIfAbsent, getIfAbsentPut, getIfAbsentPut, getIfAbsentPutWith, getIfAbsentPutWithKey, getOrThrow, 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, toArray, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, trimToSize, updateValue, updateValues, values, withKeysValues, withKeysValues, withKeysValues, withKeyValue, withoutAllKeys, withoutKey, writeExternalMethods inherited from interface IDeltaBag
removeOneOrNopMethods inherited from interface IMemory
clear, clearAllOfMethods inherited from interface IMemoryView
asMap, asStream, containsNonZero, containsNonZeroUnsafe, distinctValues, entriesWithMultiplicities, forEachEntryWithMultiplicities, getCount, getCountUnsafe, isEmpty, size, theContainedVersionOf, theContainedVersionOfUnsafeMethods inherited from interface org.eclipse.collections.api.IntIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListByMethods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableObjectIntMap
putPair, tap, withAllKeyValuesMethods inherited from interface org.eclipse.collections.api.map.primitive.ObjectIntMap
injectIntoKeyValue
-
Constructor Details
-
EclipseCollectionsDeltaBag
public EclipseCollectionsDeltaBag()
-
-
Method Details
-
addOne
-
addSigned
Description copied from interface:IMemoryAdds the given number of occurrences to the memory. The count value may or may not be negative.Precondition if
IMultiset: at least the given amount of occurrences exist, if count is negative.Precondition if
ISetMemory: count is +1 or -1, the latter is only allowed if the set contains the value. -
removeOne
Description copied from interface:IMemoryRemoves one occurrence of the given value from the memory.Precondition if
IMultisetorISetMemory: the value must have a positive amount of occurrences in the memory.
-