Uses of Interface
org.eclipse.collections.api.bag.MutableBag
Packages that use MutableBag
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for Bag API.
This package contains API for Primitive Bags with Mutable and Immutable variants.
This package contains interfaces for SortedBag API.
This package contains factory API for creating instance of type
Bag.This package contains interfaces for map API which enhance the performance and functionality of
MapThis package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
This package contains interfaces for
BagMultimap.This package contains interfaces for
PartitionBag.This package contains interfaces for stack API.
-
Uses of MutableBag in org.eclipse.collections.api
Methods in org.eclipse.collections.api that return MutableBag -
Uses of MutableBag in org.eclipse.collections.api.bag
Subinterfaces of MutableBag in org.eclipse.collections.api.bagModifier and TypeInterfaceDescriptioninterfaceA MultiReaderBag provides thread-safe iteration for a bag through methodswithReadLockAndDelegate()andwithWriteLockAndDelegate().Methods in org.eclipse.collections.api.bag that return MutableBagModifier and TypeMethodDescriptionMutableBag.asSynchronized()MutableBag.asUnmodifiable()<V> MutableBag<V><V> MutableBag<V><P,V> MutableBag<V> MutableBag.collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) <V> MutableBag<V>MutableBag.collectWithOccurrences(ObjectIntToObjectFunction<? super T, ? extends V> function) default <V> MutableBag<V>default <V> MutableBag<V>MutableBag.countByEach(Function<? super T, ? extends Iterable<V>> function) default <V,P> MutableBag<V> MutableBag.countByWith(Function2<? super T, ? super P, ? extends V> function, P parameter) <V> MutableBag<V>MutableBag.flatCollect(Function<? super T, ? extends Iterable<V>> function) default <P,V> MutableBag<V> MutableBag.flatCollectWith(Function2<? super T, ? super P, ? extends Iterable<V>> function, P parameter) MutableBag.newEmpty()<P> MutableBag<T>MutableBag.rejectWith(Predicate2<? super T, ? super P> predicate, P parameter) MutableBag.selectByOccurrences(IntPredicate predicate) default MutableBag<T>MutableBag.selectDuplicates()<S> MutableBag<S>MutableBag.selectInstancesOf(Class<S> clazz) <P> MutableBag<T>MutableBag.selectWith(Predicate2<? super T, ? super P> predicate, P parameter) default MutableBag<T>default MutableBag<T>default MutableBag<T>MutableBag.withOccurrences(T element, int occurrences) default MutableBag<T>default MutableBag<T>MutableBag.withoutAll(Iterable<? extends T> elements) default MutableBag<T>MutableBag.withoutOccurrences(T element, int occurrences) <S> MutableBag<Pair<T,S>> Deprecated.in 6.0.Method parameters in org.eclipse.collections.api.bag with type arguments of type MutableBagModifier and TypeMethodDescriptionvoidMultiReaderBag.withReadLockAndDelegate(Procedure<? super MutableBag<T>> procedure) voidMultiReaderBag.withWriteLockAndDelegate(Procedure<? super MutableBag<T>> procedure) -
Uses of MutableBag in org.eclipse.collections.api.bag.primitive
Methods in org.eclipse.collections.api.bag.primitive that return MutableBagModifier and TypeMethodDescription<V> MutableBag<V>MutableBooleanBag.collect(BooleanToObjectFunction<? extends V> function) <V> MutableBag<V>MutableByteBag.collect(ByteToObjectFunction<? extends V> function) <V> MutableBag<V>MutableCharBag.collect(CharToObjectFunction<? extends V> function) <V> MutableBag<V>MutableDoubleBag.collect(DoubleToObjectFunction<? extends V> function) <V> MutableBag<V>MutableFloatBag.collect(FloatToObjectFunction<? extends V> function) <V> MutableBag<V>MutableIntBag.collect(IntToObjectFunction<? extends V> function) <V> MutableBag<V>MutableLongBag.collect(LongToObjectFunction<? extends V> function) <V> MutableBag<V>MutableShortBag.collect(ShortToObjectFunction<? extends V> function) -
Uses of MutableBag in org.eclipse.collections.api.bag.sorted
Methods in org.eclipse.collections.api.bag.sorted that return MutableBagModifier and TypeMethodDescriptiondefault <V> MutableBag<V>default <V> MutableBag<V>MutableSortedBag.countByEach(Function<? super T, ? extends Iterable<V>> function) default <V,P> MutableBag<V> MutableSortedBag.countByWith(Function2<? super T, ? super P, ? extends V> function, P parameter) -
Uses of MutableBag in org.eclipse.collections.api.collection
Methods in org.eclipse.collections.api.collection that return MutableBagModifier and TypeMethodDescriptiondefault <V> MutableBag<V>default <V> MutableBag<V>MutableCollection.countByEach(Function<? super T, ? extends Iterable<V>> function) default <V,P> MutableBag<V> MutableCollection.countByWith(Function2<? super T, ? super P, ? extends V> function, P parameter) -
Uses of MutableBag in org.eclipse.collections.api.factory.bag
Methods in org.eclipse.collections.api.factory.bag that return MutableBagModifier and TypeMethodDescription<T> MutableBag<T>MutableBagFactory.empty()<T> MutableBag<T>MutableBagFactory.fromStream(Stream<? extends T> stream) default <T> MutableBag<T>MutableBagFactory.of()Same asMutableBagFactory.empty().default <T> MutableBag<T>MutableBagFactory.of(T... elements) Same asMutableBagFactory.with(Object[]).default <T> MutableBag<T>Same asMutableBagFactory.withAll(Iterable).default <T> MutableBag<T>MutableBagFactory.ofInitialCapacity(int capacity) Same asMutableBagFactory.empty(). but takes in initial capacity.default <T> MutableBag<T>MutableBagFactory.ofOccurrences(ObjectIntPair<T>... elementsWithOccurrences) default <T> MutableBag<T>MutableBagFactory.ofOccurrences(T element, int occurrence) default <T> MutableBag<T>MutableBagFactory.ofOccurrences(T element1, int occurrence1, T element2, int occurrence2) default <T> MutableBag<T>MutableBagFactory.ofOccurrences(T element1, int occurrence1, T element2, int occurrence2, T element3, int occurrence3) default <T> MutableBag<T>MutableBagFactory.ofOccurrences(T element1, int occurrence1, T element2, int occurrence2, T element3, int occurrence3, T element4, int occurrence4) default <T> MutableBag<T>MutableBagFactory.with()Same asMutableBagFactory.empty().<T> MutableBag<T>MutableBagFactory.with(T... elements) <T> MutableBag<T>default <T> MutableBag<T>MutableBagFactory.withInitialCapacity(int capacity) Same asMutableBagFactory.empty(). but takes in initial capacity.default <T> MutableBag<T>MutableBagFactory.withOccurrences(ObjectIntPair<T>... elementsWithOccurrences) default <T> MutableBag<T>MutableBagFactory.withOccurrences(T element, int occurrence) default <T> MutableBag<T>MutableBagFactory.withOccurrences(T element1, int occurrence1, T element2, int occurrence2) default <T> MutableBag<T>MutableBagFactory.withOccurrences(T element1, int occurrence1, T element2, int occurrence2, T element3, int occurrence3) default <T> MutableBag<T>MutableBagFactory.withOccurrences(T element1, int occurrence1, T element2, int occurrence2, T element3, int occurrence3, T element4, int occurrence4) -
Uses of MutableBag in org.eclipse.collections.api.factory.bag.strategy
Methods in org.eclipse.collections.api.factory.bag.strategy that return MutableBagModifier and TypeMethodDescription<T> MutableBag<T>MutableHashingStrategyBagFactory.empty(HashingStrategy<? super T> hashingStrategy) default <T,V> MutableBag<T> MutableHashingStrategyBagFactory.fromFunction(Function<? super T, ? extends V> function) Since 11.1<T> MutableBag<T>MutableHashingStrategyBagFactory.of(HashingStrategy<? super T> hashingStrategy) <T> MutableBag<T>MutableHashingStrategyBagFactory.of(HashingStrategy<? super T> hashingStrategy, T... items) <T> MutableBag<T>MutableHashingStrategyBagFactory.ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items) <T> MutableBag<T>MutableHashingStrategyBagFactory.with(HashingStrategy<? super T> hashingStrategy) <T> MutableBag<T>MutableHashingStrategyBagFactory.with(HashingStrategy<? super T> hashingStrategy, T... items) <T> MutableBag<T>MutableHashingStrategyBagFactory.withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items) -
Uses of MutableBag in org.eclipse.collections.api.map
Methods in org.eclipse.collections.api.map that return MutableBagModifier and TypeMethodDescription<R> MutableBag<R><R> MutableBag<R><P,V1> MutableBag<V1> MutableMap.collectWith(Function2<? super V, ? super P, ? extends V1> function, P parameter) default <V1> MutableBag<V1>default <V1> MutableBag<V1>MutableMapIterable.countByEach(Function<? super V, ? extends Iterable<V1>> function) default <V1,P> MutableBag<V1> MutableMapIterable.countByWith(Function2<? super V, ? super P, ? extends V1> function, P parameter) <R> MutableBag<R>MutableMap.flatCollect(Function<? super V, ? extends Iterable<R>> function) default <P,R> MutableBag<R> MutableMap.flatCollectWith(Function2<? super V, ? super P, ? extends Iterable<R>> function, P parameter) <P> MutableBag<V>MutableMap.rejectWith(Predicate2<? super V, ? super P> predicate, P parameter) <S> MutableBag<S>MutableMap.selectInstancesOf(Class<S> clazz) <P> MutableBag<V>MutableMap.selectWith(Predicate2<? super V, ? super P> predicate, P parameter) <S> MutableBag<Pair<V,S>> Deprecated.in 6.0. -
Uses of MutableBag in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return MutableBagModifier and TypeMethodDescription<V> MutableBag<V>MutableBooleanValuesMap.collect(BooleanToObjectFunction<? extends V> function) <V> MutableBag<V>MutableByteValuesMap.collect(ByteToObjectFunction<? extends V> function) <V> MutableBag<V>MutableCharValuesMap.collect(CharToObjectFunction<? extends V> function) <V> MutableBag<V>MutableDoubleValuesMap.collect(DoubleToObjectFunction<? extends V> function) <V> MutableBag<V>MutableFloatValuesMap.collect(FloatToObjectFunction<? extends V> function) <V> MutableBag<V>MutableIntValuesMap.collect(IntToObjectFunction<? extends V> function) <V> MutableBag<V>MutableLongValuesMap.collect(LongToObjectFunction<? extends V> function) <VV> MutableBag<VV><V> MutableBag<V>MutableShortValuesMap.collect(ShortToObjectFunction<? extends V> function) <VV> MutableBag<VV>MutablePrimitiveObjectMap.collectIf(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <P,VV> MutableBag<VV> MutablePrimitiveObjectMap.collectWith(Function2<? super V, ? super P, ? extends VV> function, P parameter) <VV> MutableBag<VV>MutablePrimitiveObjectMap.flatCollect(Function<? super V, ? extends Iterable<VV>> function) default <P,VV> MutableBag<VV> MutablePrimitiveObjectMap.flatCollectWith(Function2<? super V, ? super P, ? extends Iterable<VV>> function, P parameter) <P> MutableBag<V>MutablePrimitiveObjectMap.rejectWith(Predicate2<? super V, ? super P> predicate, P parameter) <S> MutableBag<S>MutablePrimitiveObjectMap.selectInstancesOf(Class<S> clazz) <P> MutableBag<V>MutablePrimitiveObjectMap.selectWith(Predicate2<? super V, ? super P> predicate, P parameter) <S> MutableBag<Pair<V,S>> Deprecated.in 7.0. -
Uses of MutableBag in org.eclipse.collections.api.multimap.bag
Methods in org.eclipse.collections.api.multimap.bag that return MutableBagModifier and TypeMethodDescriptionMutableBagMultimap.getIfAbsentPutAll(K key, Iterable<? extends V> values) MutableBagMultimap.replaceValues(K key, Iterable<? extends V> values) Method parameters in org.eclipse.collections.api.multimap.bag with type arguments of type MutableBagModifier and TypeMethodDescriptionvoidMutableBagMultimap.forEachKeyMutableBag(Procedure2<? super K, ? super MutableBag<V>> procedure) -
Uses of MutableBag in org.eclipse.collections.api.partition.bag
Methods in org.eclipse.collections.api.partition.bag that return MutableBagModifier and TypeMethodDescriptionPartitionMutableBag.getRejected()PartitionMutableBag.getSelected() -
Uses of MutableBag in org.eclipse.collections.api.stack
Methods in org.eclipse.collections.api.stack that return MutableBagModifier and TypeMethodDescriptiondefault <V> MutableBag<V>default <V> MutableBag<V>MutableStack.countByEach(Function<? super T, ? extends Iterable<V>> function) default <V,P> MutableBag<V> MutableStack.countByWith(Function2<? super T, ? super P, ? extends V> function, P parameter)