Uses of Interface
org.eclipse.collections.api.bag.MutableBagIterable
-
-
Uses of MutableBagIterable in org.eclipse.collections.api
Methods in org.eclipse.collections.api with type parameters of type MutableBagIterable Modifier and Type Method Description default <V,R extends MutableBagIterable<V>>
RRichIterable. countBy(Function<? super T,? extends V> function, R target)
This method will count the number of occurrences of each value calculated by applying the function to each element of the collection.default <V,R extends MutableBagIterable<V>>
RRichIterable. countByEach(Function<? super T,? extends java.lang.Iterable<V>> function, R target)
This method will count the number of occurrences of each value calculated by applying the function to each element of the collection.default <V,P,R extends MutableBagIterable<V>>
RRichIterable. countByWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
This method will count the number of occurrences of each value calculated by applying the function to each element of the collection with the specified parameter as the second argument. -
Uses of MutableBagIterable in org.eclipse.collections.api.bag
Subinterfaces of MutableBagIterable in org.eclipse.collections.api.bag Modifier and Type Interface Description interface
MultiReaderBag<T>
A MultiReaderBag provides thread-safe iteration for a bag through methodswithReadLockAndDelegate()
andwithWriteLockAndDelegate()
.interface
MutableBag<T>
A MutableBag is a Collection whose elements are unordered and may contain duplicate entries.Methods in org.eclipse.collections.api.bag that return MutableBagIterable Modifier and Type Method Description MutableBagIterable<T>
MutableBagIterable. reject(Predicate<? super T> predicate)
<P> MutableBagIterable<T>
MutableBagIterable. rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
MutableBagIterable<T>
MutableBagIterable. select(Predicate<? super T> predicate)
MutableBagIterable<T>
MutableBagIterable. selectByOccurrences(IntPredicate predicate)
default MutableBagIterable<T>
MutableBagIterable. selectDuplicates()
<S> MutableBagIterable<S>
MutableBagIterable. selectInstancesOf(java.lang.Class<S> clazz)
<P> MutableBagIterable<T>
MutableBagIterable. selectWith(Predicate2<? super T,? super P> predicate, P parameter)
MutableBagIterable<T>
MutableBagIterable. tap(Procedure<? super T> procedure)
default MutableBagIterable<T>
MutableBagIterable. with(T element)
default MutableBagIterable<T>
MutableBagIterable. withAll(java.lang.Iterable<? extends T> elements)
default MutableBagIterable<T>
MutableBagIterable. without(T element)
default MutableBagIterable<T>
MutableBagIterable. withoutAll(java.lang.Iterable<? extends T> elements)
-
Uses of MutableBagIterable in org.eclipse.collections.api.bag.sorted
Subinterfaces of MutableBagIterable in org.eclipse.collections.api.bag.sorted Modifier and Type Interface Description interface
MutableSortedBag<T>
-
Uses of MutableBagIterable in org.eclipse.collections.api.multimap.bag
Methods in org.eclipse.collections.api.multimap.bag that return MutableBagIterable Modifier and Type Method Description MutableBagIterable<V>
MutableBagIterableMultimap. get(K key)
MutableBagIterable<V>
MutableBagIterableMultimap. getIfAbsentPutAll(K key, java.lang.Iterable<? extends V> values)
MutableBagIterable<V>
MutableBagIterableMultimap. removeAll(java.lang.Object key)
MutableBagIterable<V>
MutableBagIterableMultimap. replaceValues(K key, java.lang.Iterable<? extends V> values)
-
Uses of MutableBagIterable in org.eclipse.collections.api.partition.bag
Methods in org.eclipse.collections.api.partition.bag that return MutableBagIterable Modifier and Type Method Description MutableBagIterable<T>
PartitionMutableBagIterable. getRejected()
MutableBagIterable<T>
PartitionMutableBagIterable. getSelected()
-
Uses of MutableBagIterable in org.eclipse.collections.impl.bag.immutable
Methods in org.eclipse.collections.impl.bag.immutable with type parameters of type MutableBagIterable Modifier and Type Method Description <V,R extends MutableBagIterable<V>>
RImmutableEmptyBag. countBy(Function<? super T,? extends V> function, R target)
<V,R extends MutableBagIterable<V>>
RImmutableEmptyBag. countByEach(Function<? super T,? extends java.lang.Iterable<V>> function, R target)
<V,P,R extends MutableBagIterable<V>>
RImmutableEmptyBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
-
Uses of MutableBagIterable in org.eclipse.collections.impl.bag.mutable
Classes in org.eclipse.collections.impl.bag.mutable that implement MutableBagIterable Modifier and Type Class Description class
AbstractHashBag<T>
class
AbstractMutableBag<T>
class
AbstractMutableBagIterable<T>
class
HashBag<T>
A HashBag is a MutableBag which uses a Map as its underlying data store.class
MultiReaderHashBag<T>
MultiReaderHashBag provides a thread-safe wrapper around a HashBag, using a ReentrantReadWriteLock.(package private) static class
MultiReaderHashBag.UntouchableMutableBag<T>
class
SynchronizedBag<T>
A synchronized view of aMutableBag
.class
UnmodifiableBag<T>
An unmodifiable view of a bag. -
Uses of MutableBagIterable in org.eclipse.collections.impl.bag.sorted.immutable
Methods in org.eclipse.collections.impl.bag.sorted.immutable with type parameters of type MutableBagIterable Modifier and Type Method Description <V,R extends MutableBagIterable<V>>
RImmutableEmptySortedBag. countBy(Function<? super T,? extends V> function, R target)
<V,R extends MutableBagIterable<V>>
RImmutableEmptySortedBag. countByEach(Function<? super T,? extends java.lang.Iterable<V>> function, R target)
<V,P,R extends MutableBagIterable<V>>
RImmutableEmptySortedBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
-
Uses of MutableBagIterable in org.eclipse.collections.impl.bag.sorted.mutable
Classes in org.eclipse.collections.impl.bag.sorted.mutable that implement MutableBagIterable Modifier and Type Class Description class
AbstractMutableSortedBag<T>
class
SynchronizedSortedBag<T>
A synchronized view of aMutableSortedBag
.class
TreeBag<T>
A TreeBag is a MutableSortedBag which uses a SortedMap as its underlying data store.class
UnmodifiableSortedBag<T>
An unmodifiable view of a SortedBag. -
Uses of MutableBagIterable in org.eclipse.collections.impl.bag.strategy.mutable
Classes in org.eclipse.collections.impl.bag.strategy.mutable that implement MutableBagIterable Modifier and Type Class Description class
HashBagWithHashingStrategy<T>
-
Uses of MutableBagIterable in org.eclipse.collections.impl.collection
Methods in org.eclipse.collections.impl.collection with type parameters of type MutableBagIterable Modifier and Type Method Description <V,R extends MutableBagIterable<V>>
RAbstractSynchronizedRichIterable. countBy(Function<? super T,? extends V> function, R target)
<V,R extends MutableBagIterable<V>>
RAbstractSynchronizedRichIterable. countByEach(Function<? super T,? extends java.lang.Iterable<V>> function, R target)
<V,P,R extends MutableBagIterable<V>>
RAbstractSynchronizedRichIterable. countByWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
-
Uses of MutableBagIterable in org.eclipse.collections.impl.list.immutable
Methods in org.eclipse.collections.impl.list.immutable with type parameters of type MutableBagIterable Modifier and Type Method Description <V,R extends MutableBagIterable<V>>
RImmutableEmptyList. countBy(Function<? super T,? extends V> function, R target)
<V,R extends MutableBagIterable<V>>
RImmutableEmptyList. countByEach(Function<? super T,? extends java.lang.Iterable<V>> function, R target)
<V,P,R extends MutableBagIterable<V>>
RImmutableEmptyList. countByWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
-
Uses of MutableBagIterable in org.eclipse.collections.impl.map.ordered.mutable
Methods in org.eclipse.collections.impl.map.ordered.mutable with type parameters of type MutableBagIterable Modifier and Type Method Description <VV,R extends MutableBagIterable<VV>>
RUnmodifiableMutableOrderedMap. countBy(Function<? super V,? extends VV> function, R target)
<VV,P,R extends MutableBagIterable<VV>>
RUnmodifiableMutableOrderedMap. countByWith(Function2<? super V,? super P,? extends VV> function, P parameter, R target)
-
Uses of MutableBagIterable in org.eclipse.collections.impl.set.immutable
Methods in org.eclipse.collections.impl.set.immutable with type parameters of type MutableBagIterable Modifier and Type Method Description <V,R extends MutableBagIterable<V>>
RImmutableEmptySet. countBy(Function<? super T,? extends V> function, R target)
<V,R extends MutableBagIterable<V>>
RImmutableEmptySet. countByEach(Function<? super T,? extends java.lang.Iterable<V>> function, R target)
<V,P,R extends MutableBagIterable<V>>
RImmutableEmptySet. countByWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
-