Uses of Interface
org.eclipse.collections.api.bag.MutableBagIterable
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.sorted |
This package contains interfaces for SortedBag API.
|
org.eclipse.collections.api.multimap.bag |
This package contains interfaces for
BagMultimap . |
org.eclipse.collections.api.partition.bag |
This package contains interfaces for
PartitionBag . |
org.eclipse.collections.impl.bag.mutable |
This package contains implementations of the
MutableBag interface. |
org.eclipse.collections.impl.bag.sorted.mutable |
This package contains implementations of
MutableSortedBag . |
org.eclipse.collections.impl.bag.strategy.mutable |
This package contains implementations of bags with user defined
HashingStrategy s. |
org.eclipse.collections.impl.collection | |
org.eclipse.collections.impl.map.ordered.mutable |
-
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 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(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(Iterable<? extends T> elements)
default MutableBagIterable<T>
MutableBagIterable. without(T element)
default MutableBagIterable<T>
MutableBagIterable. withoutAll(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, Iterable<? extends V> values)
MutableBagIterable<V>
MutableBagIterableMultimap. removeAll(Object key)
MutableBagIterable<V>
MutableBagIterableMultimap. replaceValues(K key, 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.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.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.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 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.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)