public interface MutablePrimitiveObjectMap<V>
Modifier and Type | Method and Description |
---|---|
<K,VV> MutableMap<K,VV> |
aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
<K,VV> MutableMap<K,VV> |
aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
void |
clear() |
<VV> MutableCollection<VV> |
collect(Function<? super V,? extends VV> function) |
MutableBooleanCollection |
collectBoolean(BooleanFunction<? super V> booleanFunction) |
MutableByteCollection |
collectByte(ByteFunction<? super V> byteFunction) |
MutableCharCollection |
collectChar(CharFunction<? super V> charFunction) |
MutableDoubleCollection |
collectDouble(DoubleFunction<? super V> doubleFunction) |
MutableFloatCollection |
collectFloat(FloatFunction<? super V> floatFunction) |
<VV> MutableBag<VV> |
collectIf(Predicate<? super V> predicate,
Function<? super V,? extends VV> function) |
MutableIntCollection |
collectInt(IntFunction<? super V> intFunction) |
MutableLongCollection |
collectLong(LongFunction<? super V> longFunction) |
MutableShortCollection |
collectShort(ShortFunction<? super V> shortFunction) |
<P,VV> MutableCollection<VV> |
collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
<VV> MutableBagMultimap<VV,V> |
groupBy(Function<? super V,? extends VV> function) |
<VV> MutableBagMultimap<VV,V> |
groupByEach(Function<? super V,? extends Iterable<VV>> function) |
<VV> MutableMap<VV,V> |
groupByUniqueKey(Function<? super V,? extends VV> function) |
PartitionMutableBag<V> |
partition(Predicate<? super V> predicate) |
<P> PartitionMutableBag<V> |
partitionWith(Predicate2<? super V,? super P> predicate,
P parameter) |
MutableCollection<V> |
reject(Predicate<? super V> predicate) |
<P> MutableCollection<V> |
rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
MutableCollection<V> |
select(Predicate<? super V> predicate) |
<S> MutableBag<S> |
selectInstancesOf(Class<S> clazz) |
<P> MutableCollection<V> |
selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<S> MutableBag<Pair<V,S>> |
zip(Iterable<S> that)
Deprecated.
in 7.0. Use
OrderedIterable.zip(Iterable) instead. |
MutableSet<Pair<V,Integer>> |
zipWithIndex()
Deprecated.
in 7.0. Use
OrderedIterable.zipWithIndex() instead. |
void clear()
<K,VV> MutableMap<K,VV> aggregateInPlaceBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
<K,VV> MutableMap<K,VV> aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<VV> MutableBagMultimap<VV,V> groupByEach(Function<? super V,? extends Iterable<VV>> function)
<VV> MutableBagMultimap<VV,V> groupBy(Function<? super V,? extends VV> function)
<VV> MutableMap<VV,V> groupByUniqueKey(Function<? super V,? extends VV> function)
<VV> MutableBag<VV> collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function)
<VV> MutableCollection<VV> collect(Function<? super V,? extends VV> function)
MutableBooleanCollection collectBoolean(BooleanFunction<? super V> booleanFunction)
MutableByteCollection collectByte(ByteFunction<? super V> byteFunction)
MutableCharCollection collectChar(CharFunction<? super V> charFunction)
MutableDoubleCollection collectDouble(DoubleFunction<? super V> doubleFunction)
MutableFloatCollection collectFloat(FloatFunction<? super V> floatFunction)
MutableIntCollection collectInt(IntFunction<? super V> intFunction)
MutableLongCollection collectLong(LongFunction<? super V> longFunction)
MutableShortCollection collectShort(ShortFunction<? super V> shortFunction)
<P,VV> MutableCollection<VV> collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<S> MutableBag<S> selectInstancesOf(Class<S> clazz)
MutableCollection<V> select(Predicate<? super V> predicate)
<P> MutableCollection<V> selectWith(Predicate2<? super V,? super P> predicate, P parameter)
MutableCollection<V> reject(Predicate<? super V> predicate)
<P> MutableCollection<V> rejectWith(Predicate2<? super V,? super P> predicate, P parameter)
PartitionMutableBag<V> partition(Predicate<? super V> predicate)
<P> PartitionMutableBag<V> partitionWith(Predicate2<? super V,? super P> predicate, P parameter)
@Deprecated <S> MutableBag<Pair<V,S>> zip(Iterable<S> that)
OrderedIterable.zip(Iterable)
instead.@Deprecated MutableSet<Pair<V,Integer>> zipWithIndex()
OrderedIterable.zipWithIndex()
instead.Copyright © 2004–2016. All rights reserved.