Uses of Interface
org.eclipse.collections.api.bag.MutableBagIterable
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for Bag API.
This package contains interfaces for SortedBag API.
This package contains interfaces for
BagMultimap
.This package contains interfaces for
PartitionBag
.This package contains implementations of the
MutableBag
interface.This package contains implementations of
MutableSortedBag
.This package contains implementations of bags with user defined
HashingStrategy
s.-
Uses of MutableBagIterable in org.eclipse.collections.api
Modifier and TypeMethodDescriptiondefault <V,
R extends MutableBagIterable<V>>
RThis 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
Modifier and TypeInterfaceDescriptioninterface
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.Modifier and TypeMethodDescription<P> MutableBagIterable<T>
MutableBagIterable.rejectWith
(Predicate2<? super T, ? super P> predicate, P parameter) 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) default MutableBagIterable<T>
default MutableBagIterable<T>
default MutableBagIterable<T>
default MutableBagIterable<T>
MutableBagIterable.withoutAll
(Iterable<? extends T> elements) -
Uses of MutableBagIterable in org.eclipse.collections.api.bag.sorted
-
Uses of MutableBagIterable in org.eclipse.collections.api.multimap.bag
Modifier and TypeMethodDescriptionMutableBagIterableMultimap.getIfAbsentPutAll
(K key, Iterable<? extends V> values) MutableBagIterableMultimap.replaceValues
(K key, Iterable<? extends V> values) -
Uses of MutableBagIterable in org.eclipse.collections.api.partition.bag
Modifier and TypeMethodDescriptionPartitionMutableBagIterable.getRejected()
PartitionMutableBagIterable.getSelected()
-
Uses of MutableBagIterable in org.eclipse.collections.impl.bag.mutable
Modifier and TypeClassDescriptionclass
class
class
class
HashBag<T>
A HashBag is a MutableBag which uses a Map as its underlying data store.final class
MultiReaderHashBag provides a thread-safe wrapper around a HashBag, using a ReentrantReadWriteLock.class
A synchronized view of aMutableBag
.class
An unmodifiable view of a bag. -
Uses of MutableBagIterable in org.eclipse.collections.impl.bag.sorted.mutable
Modifier and TypeClassDescriptionclass
class
A synchronized view of aMutableSortedBag
.class
TreeBag<T>
A TreeBag is a MutableSortedBag which uses a SortedMap as its underlying data store.class
An unmodifiable view of a SortedBag. -
Uses of MutableBagIterable in org.eclipse.collections.impl.bag.strategy.mutable
-
Uses of MutableBagIterable in org.eclipse.collections.impl.collection
Modifier and TypeMethodDescription<V,
R extends MutableBagIterable<V>>
R<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
Modifier and TypeMethodDescription<VV,
R extends MutableBagIterable<VV>>
R<VV,
P, R extends MutableBagIterable<VV>>
RUnmodifiableMutableOrderedMap.countByWith
(Function2<? super V, ? super P, ? extends VV> function, P parameter, R target)