Uses of Interface
org.eclipse.collections.api.bag.MutableBag
-
Packages that use MutableBag Package Description org.eclipse.collections.api This package contains interfaces for Eclipse Collections API.org.eclipse.collections.api.bag This package contains interfaces for Bag API.org.eclipse.collections.api.bag.primitive This package contains API for Primitive Bags with Mutable and Immutable variants.org.eclipse.collections.api.bag.sorted This package contains interfaces for SortedBag API.org.eclipse.collections.api.collection org.eclipse.collections.api.factory.bag This package contains factory API for creating instance of typeBag.org.eclipse.collections.api.factory.bag.strategy org.eclipse.collections.api.map This package contains interfaces for map API which enhance the performance and functionality ofMaporg.eclipse.collections.api.map.primitive This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.org.eclipse.collections.api.multimap.bag This package contains interfaces forBagMultimap.org.eclipse.collections.api.partition.bag This package contains interfaces forPartitionBag.org.eclipse.collections.api.stack This package contains interfaces for stack API. -
-
Uses of MutableBag in org.eclipse.collections.api
Methods in org.eclipse.collections.api that return MutableBag Modifier and Type Method Description MutableBag<T>ParallelIterable. toBag()MutableBag<T>RichIterable. toBag()Converts the collection to the default MutableBag implementation. -
Uses of MutableBag in org.eclipse.collections.api.bag
Subinterfaces of MutableBag in org.eclipse.collections.api.bag Modifier and Type Interface Description interfaceMultiReaderBag<T>A MultiReaderBag provides thread-safe iteration for a bag through methodswithReadLockAndDelegate()andwithWriteLockAndDelegate().Methods in org.eclipse.collections.api.bag that return MutableBag Modifier and Type Method Description MutableBag<T>MutableBag. asSynchronized()MutableBag<T>MutableBag. asUnmodifiable()<V> MutableBag<V>MutableBag. collect(Function<? super T,? extends V> function)<V> MutableBag<V>MutableBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)<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>MutableBag. countBy(Function<? super T,? extends V> function)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<T>MutableBag. newEmpty()MutableBag<T>MutableBag. reject(Predicate<? super T> predicate)<P> MutableBag<T>MutableBag. rejectWith(Predicate2<? super T,? super P> predicate, P parameter)MutableBag<T>MutableBag. select(Predicate<? super T> predicate)MutableBag<T>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)MutableBag<T>MutableBag. tap(Procedure<? super T> procedure)default MutableBag<T>MutableBag. with(T element)default MutableBag<T>MutableBag. withAll(Iterable<? extends T> elements)default MutableBag<T>MutableBag. without(T element)default MutableBag<T>MutableBag. withoutAll(Iterable<? extends T> elements)<S> MutableBag<Pair<T,S>>MutableBag. zip(Iterable<S> that)Deprecated.in 6.0.Method parameters in org.eclipse.collections.api.bag with type arguments of type MutableBag Modifier and Type Method Description voidMultiReaderBag. 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 MutableBag Modifier and Type Method Description <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 MutableBag Modifier and Type Method Description default <V> MutableBag<V>MutableSortedBag. countBy(Function<? super T,? extends V> function)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 MutableBag Modifier and Type Method Description default <V> MutableBag<V>MutableCollection. countBy(Function<? super T,? extends V> function)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 MutableBag Modifier and Type Method Description <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>MutableBagFactory. ofAll(Iterable<? extends T> items)Same asMutableBagFactory.withAll(Iterable).default <T> MutableBag<T>MutableBagFactory. ofInitialCapacity(int capacity)Same asMutableBagFactory.empty().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>MutableBagFactory. withAll(Iterable<? extends T> items)default <T> MutableBag<T>MutableBagFactory. withInitialCapacity(int capacity)Same asMutableBagFactory.empty().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 MutableBag Modifier and Type Method Description <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 MutableBag Modifier and Type Method Description <R> MutableBag<R>MutableMap. collect(Function<? super V,? extends R> function)<R> MutableBag<R>MutableMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends R> function)<P,V1>
MutableBag<V1>MutableMap. collectWith(Function2<? super V,? super P,? extends V1> function, P parameter)default <V1> MutableBag<V1>MutableMapIterable. countBy(Function<? super V,? extends V1> function)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)MutableBag<V>MutableMap. reject(Predicate<? super V> predicate)<P> MutableBag<V>MutableMap. rejectWith(Predicate2<? super V,? super P> predicate, P parameter)MutableBag<V>MutableMap. select(Predicate<? super V> predicate)<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>>MutableMap. zip(Iterable<S> that)Deprecated.in 6.0. -
Uses of MutableBag in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return MutableBag Modifier and Type Method Description <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>MutablePrimitiveObjectMap. collect(Function<? super V,? extends VV> function)<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)MutableBag<V>MutablePrimitiveObjectMap. reject(Predicate<? super V> predicate)<P> MutableBag<V>MutablePrimitiveObjectMap. rejectWith(Predicate2<? super V,? super P> predicate, P parameter)MutableBag<V>MutablePrimitiveObjectMap. select(Predicate<? super V> predicate)<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>>MutablePrimitiveObjectMap. zip(Iterable<S> that)Deprecated.in 7.0. -
Uses of MutableBag in org.eclipse.collections.api.multimap.bag
Methods in org.eclipse.collections.api.multimap.bag that return MutableBag Modifier and Type Method Description MutableBag<V>MutableBagMultimap. get(K key)MutableBag<V>MutableBagMultimap. getIfAbsentPutAll(K key, Iterable<? extends V> values)MutableBag<V>MutableBagMultimap. removeAll(Object key)MutableBag<V>MutableBagMultimap. replaceValues(K key, Iterable<? extends V> values)Method parameters in org.eclipse.collections.api.multimap.bag with type arguments of type MutableBag Modifier and Type Method Description voidMutableBagMultimap. 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 MutableBag Modifier and Type Method Description MutableBag<T>PartitionMutableBag. getRejected()MutableBag<T>PartitionMutableBag. getSelected() -
Uses of MutableBag in org.eclipse.collections.api.stack
Methods in org.eclipse.collections.api.stack that return MutableBag Modifier and Type Method Description default <V> MutableBag<V>MutableStack. countBy(Function<? super T,? extends V> function)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)
-