public class SynchronizedDoubleObjectMap<V> extends Object implements MutableDoubleObjectMap<V>, Serializable
MutableDoubleObjectMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
standard JDK iterator or JDK 5 for loop, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveObjectMap.stg.
MutableDoubleObjectMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Constructor and Description |
|---|
SynchronizedDoubleObjectMap(MutableDoubleObjectMap<V> map) |
SynchronizedDoubleObjectMap(MutableDoubleObjectMap<V> map,
Object newLock) |
| 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) |
boolean |
allSatisfy(Predicate<? super V> predicate) |
<P> boolean |
allSatisfyWith(Predicate2<? super V,? super P> predicate,
P parameter) |
boolean |
anySatisfy(Predicate<? super V> predicate) |
<P> boolean |
anySatisfyWith(Predicate2<? super V,? super P> predicate,
P parameter) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
LazyIterable<V> |
asLazy() |
MutableDoubleObjectMap<V> |
asSynchronized() |
MutableDoubleObjectMap<V> |
asUnmodifiable() |
RichIterable<RichIterable<V>> |
chunk(int size) |
void |
clear() |
<VV> MutableBag<VV> |
collect(Function<? super V,? extends VV> function) |
<VV,R extends Collection<VV>> |
collect(Function<? super V,? extends VV> function,
R target) |
MutableBooleanBag |
collectBoolean(BooleanFunction<? super V> booleanFunction) |
<R extends MutableBooleanCollection> |
collectBoolean(BooleanFunction<? super V> booleanFunction,
R target) |
MutableByteBag |
collectByte(ByteFunction<? super V> byteFunction) |
<R extends MutableByteCollection> |
collectByte(ByteFunction<? super V> byteFunction,
R target) |
MutableCharBag |
collectChar(CharFunction<? super V> charFunction) |
<R extends MutableCharCollection> |
collectChar(CharFunction<? super V> charFunction,
R target) |
MutableDoubleBag |
collectDouble(DoubleFunction<? super V> doubleFunction) |
<R extends MutableDoubleCollection> |
collectDouble(DoubleFunction<? super V> doubleFunction,
R target) |
MutableFloatBag |
collectFloat(FloatFunction<? super V> floatFunction) |
<R extends MutableFloatCollection> |
collectFloat(FloatFunction<? super V> floatFunction,
R target) |
<VV> MutableBag<VV> |
collectIf(Predicate<? super V> predicate,
Function<? super V,? extends VV> function) |
<VV,R extends Collection<VV>> |
collectIf(Predicate<? super V> predicate,
Function<? super V,? extends VV> function,
R target) |
MutableIntBag |
collectInt(IntFunction<? super V> intFunction) |
<R extends MutableIntCollection> |
collectInt(IntFunction<? super V> intFunction,
R target) |
MutableLongBag |
collectLong(LongFunction<? super V> longFunction) |
<R extends MutableLongCollection> |
collectLong(LongFunction<? super V> longFunction,
R target) |
MutableShortBag |
collectShort(ShortFunction<? super V> shortFunction) |
<R extends MutableShortCollection> |
collectShort(ShortFunction<? super V> shortFunction,
R target) |
<P,VV> MutableBag<VV> |
collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
<P,VV,R extends Collection<VV>> |
collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter,
R targetCollection) |
boolean |
contains(Object object) |
boolean |
containsAll(Collection<?> source) |
boolean |
containsAllArguments(Object... elements) |
boolean |
containsAllIterable(Iterable<?> source) |
boolean |
containsAny(Collection<?> source) |
boolean |
containsAnyIterable(Iterable<?> source) |
boolean |
containsKey(double key) |
boolean |
containsNone(Collection<?> source) |
boolean |
containsNoneIterable(Iterable<?> source) |
boolean |
containsValue(Object value) |
int |
count(Predicate<? super V> predicate) |
<P> int |
countWith(Predicate2<? super V,? super P> predicate,
P parameter) |
V |
detect(Predicate<? super V> predicate) |
V |
detectIfNone(Predicate<? super V> predicate,
Function0<? extends V> function) |
Optional<V> |
detectOptional(Predicate<? super V> predicate) |
<P> V |
detectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<P> V |
detectWithIfNone(Predicate2<? super V,? super P> predicate,
P parameter,
Function0<? extends V> function) |
<P> Optional<V> |
detectWithOptional(Predicate2<? super V,? super P> predicate,
P parameter) |
void |
each(Procedure<? super V> procedure) |
boolean |
equals(Object obj) |
<VV> MutableBag<VV> |
flatCollect(Function<? super V,? extends Iterable<VV>> function) |
<VV,R extends Collection<VV>> |
flatCollect(Function<? super V,? extends Iterable<VV>> function,
R target) |
<R extends MutableBooleanCollection> |
flatCollectBoolean(Function<? super V,? extends BooleanIterable> function,
R target) |
<R extends MutableByteCollection> |
flatCollectByte(Function<? super V,? extends ByteIterable> function,
R target) |
<R extends MutableCharCollection> |
flatCollectChar(Function<? super V,? extends CharIterable> function,
R target) |
<R extends MutableDoubleCollection> |
flatCollectDouble(Function<? super V,? extends DoubleIterable> function,
R target) |
<R extends MutableFloatCollection> |
flatCollectFloat(Function<? super V,? extends FloatIterable> function,
R target) |
<R extends MutableIntCollection> |
flatCollectInt(Function<? super V,? extends IntIterable> function,
R target) |
<R extends MutableLongCollection> |
flatCollectLong(Function<? super V,? extends LongIterable> function,
R target) |
<R extends MutableShortCollection> |
flatCollectShort(Function<? super V,? extends ShortIterable> function,
R target) |
MutableObjectDoubleMap<V> |
flipUniqueValues() |
void |
forEach(Procedure<? super V> procedure) |
void |
forEachKey(DoubleProcedure procedure) |
void |
forEachKeyValue(DoubleObjectProcedure<? super V> procedure) |
void |
forEachValue(Procedure<? super V> procedure) |
<P> void |
forEachWith(Procedure2<? super V,? super P> procedure,
P parameter) |
void |
forEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure) |
V |
get(double key) |
V |
getFirst() |
V |
getIfAbsent(double key,
Function0<? extends V> ifAbsent) |
V |
getIfAbsentPut(double key,
Function0<? extends V> function) |
V |
getIfAbsentPut(double key,
V value) |
<P> V |
getIfAbsentPutWith(double key,
Function<? super P,? extends V> function,
P parameter) |
V |
getIfAbsentPutWithKey(double key,
DoubleToObjectFunction<? extends V> function) |
V |
getLast() |
V |
getOnly() |
<VV> MutableBagMultimap<VV,V> |
groupBy(Function<? super V,? extends VV> function) |
<VV,R extends MutableMultimap<VV,V>> |
groupBy(Function<? super V,? extends VV> function,
R target) |
<VV> MutableBagMultimap<VV,V> |
groupByEach(Function<? super V,? extends Iterable<VV>> function) |
<VV,R extends MutableMultimap<VV,V>> |
groupByEach(Function<? super V,? extends Iterable<VV>> function,
R target) |
<VV> MutableMap<VV,V> |
groupByUniqueKey(Function<? super V,? extends VV> function) |
<VV,R extends MutableMapIterable<VV,V>> |
groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
int |
hashCode() |
double |
injectInto(double injectedValue,
DoubleObjectToDoubleFunction<? super V> function) |
float |
injectInto(float injectedValue,
FloatObjectToFloatFunction<? super V> function) |
int |
injectInto(int injectedValue,
IntObjectToIntFunction<? super V> function) |
<IV> IV |
injectInto(IV injectedValue,
Function2<? super IV,? super V,? extends IV> function) |
long |
injectInto(long injectedValue,
LongObjectToLongFunction<? super V> function) |
<R extends Collection<V>> |
into(R target) |
boolean |
isEmpty() |
Iterator<V> |
iterator()
Must be called in a synchronized block.
|
MutableDoubleSet |
keySet() |
LazyDoubleIterable |
keysView() |
RichIterable<DoubleObjectPair<V>> |
keyValuesView() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
V |
max() |
V |
max(Comparator<? super V> comparator) |
<VV extends Comparable<? super VV>> |
maxBy(Function<? super V,? extends VV> function) |
V |
min() |
V |
min(Comparator<? super V> comparator) |
<VV extends Comparable<? super VV>> |
minBy(Function<? super V,? extends VV> function) |
boolean |
noneSatisfy(Predicate<? super V> predicate) |
<P> boolean |
noneSatisfyWith(Predicate2<? super V,? super P> predicate,
P parameter) |
boolean |
notEmpty() |
PartitionMutableBag<V> |
partition(Predicate<? super V> predicate) |
<P> PartitionMutableBag<V> |
partitionWith(Predicate2<? super V,? super P> predicate,
P parameter) |
V |
put(double key,
V value) |
void |
putAll(DoubleObjectMap<? extends V> map) |
V |
putPair(DoubleObjectPair<V> keyValuePair) |
MutableDoubleObjectMap<V> |
reject(DoubleObjectPredicate<? super V> predicate) |
MutableBag<V> |
reject(Predicate<? super V> predicate) |
<R extends Collection<V>> |
reject(Predicate<? super V> predicate,
R target) |
<P> MutableBag<V> |
rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<P,R extends Collection<V>> |
rejectWith(Predicate2<? super V,? super P> predicate,
P parameter,
R targetCollection) |
V |
remove(double key) |
V |
removeKey(double key) |
MutableDoubleObjectMap<V> |
select(DoubleObjectPredicate<? super V> predicate) |
MutableBag<V> |
select(Predicate<? super V> predicate) |
<R extends Collection<V>> |
select(Predicate<? super V> predicate,
R target) |
<S> MutableBag<S> |
selectInstancesOf(Class<S> clazz) |
<P> MutableBag<V> |
selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<P,R extends Collection<V>> |
selectWith(Predicate2<? super V,? super P> predicate,
P parameter,
R targetCollection) |
int |
size() |
<V1> MutableObjectDoubleMap<V1> |
sumByDouble(Function<? super V,? extends V1> groupBy,
DoubleFunction<? super V> function) |
<V1> MutableObjectDoubleMap<V1> |
sumByFloat(Function<? super V,? extends V1> groupBy,
FloatFunction<? super V> function) |
<V1> MutableObjectLongMap<V1> |
sumByInt(Function<? super V,? extends V1> groupBy,
IntFunction<? super V> function) |
<V1> MutableObjectLongMap<V1> |
sumByLong(Function<? super V,? extends V1> groupBy,
LongFunction<? super V> function) |
double |
sumOfDouble(DoubleFunction<? super V> function) |
double |
sumOfFloat(FloatFunction<? super V> function) |
long |
sumOfInt(IntFunction<? super V> function) |
long |
sumOfLong(LongFunction<? super V> function) |
MutableDoubleObjectMap<V> |
tap(Procedure<? super V> procedure) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
MutableBag<V> |
toBag() |
<NK,NV> MutableBiMap<NK,NV> |
toBiMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
ImmutableDoubleObjectMap<V> |
toImmutable() |
ImmutableBag<V> |
toImmutableBag() |
ImmutableList<V> |
toImmutableList() |
ImmutableSet<V> |
toImmutableSet() |
ImmutableSortedBag<V> |
toImmutableSortedBag() |
ImmutableSortedBag<V> |
toImmutableSortedBag(Comparator<? super V> comparator) |
<VV extends Comparable<? super VV>> |
toImmutableSortedBagBy(Function<? super V,? extends VV> function) |
ImmutableList<V> |
toImmutableSortedList() |
ImmutableList<V> |
toImmutableSortedList(Comparator<? super V> comparator) |
<VV extends Comparable<? super VV>> |
toImmutableSortedListBy(Function<? super V,? extends VV> function) |
ImmutableSortedSet<V> |
toImmutableSortedSet() |
ImmutableSortedSet<V> |
toImmutableSortedSet(Comparator<? super V> comparator) |
<VV extends Comparable<? super VV>> |
toImmutableSortedSetBy(Function<? super V,? extends VV> function) |
MutableList<V> |
toList() |
<NK,NV> MutableMap<NK,NV> |
toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
<NK,NV,R extends Map<NK,NV>> |
toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction,
R target) |
MutableSet<V> |
toSet() |
MutableSortedBag<V> |
toSortedBag() |
MutableSortedBag<V> |
toSortedBag(Comparator<? super V> comparator) |
<VV extends Comparable<? super VV>> |
toSortedBagBy(Function<? super V,? extends VV> function) |
MutableList<V> |
toSortedList() |
MutableList<V> |
toSortedList(Comparator<? super V> comparator) |
<VV extends Comparable<? super VV>> |
toSortedListBy(Function<? super V,? extends VV> function) |
<NK,NV> MutableSortedMap<NK,NV> |
toSortedMap(Comparator<? super NK> comparator,
Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
<NK,NV> MutableSortedMap<NK,NV> |
toSortedMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
<KK extends Comparable<? super KK>,NK,NV> |
toSortedMapBy(Function<? super NK,KK> sortBy,
Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
MutableSortedSet<V> |
toSortedSet() |
MutableSortedSet<V> |
toSortedSet(Comparator<? super V> comparator) |
<VV extends Comparable<? super VV>> |
toSortedSetBy(Function<? super V,? extends VV> function) |
String |
toString() |
V |
updateValue(double key,
Function0<? extends V> factory,
Function<? super V,? extends V> function) |
<P> V |
updateValueWith(double key,
Function0<? extends V> factory,
Function2<? super V,? super P,? extends V> function,
P parameter) |
Collection<V> |
values() |
MutableDoubleObjectMap<V> |
withKeyValue(double key,
V value) |
MutableDoubleObjectMap<V> |
withoutAllKeys(DoubleIterable keys) |
MutableDoubleObjectMap<V> |
withoutKey(double key) |
<S> MutableBag<Pair<V,S>> |
zip(Iterable<S> that)
Deprecated.
in 7.0. Use
OrderedIterable.zip(Iterable) instead. |
<S,R extends Collection<Pair<V,S>>> |
zip(Iterable<S> that,
R target) |
MutableSet<Pair<V,Integer>> |
zipWithIndex()
Deprecated.
in 7.0. Use
OrderedIterable.zipWithIndex() instead. |
<R extends Collection<Pair<V,Integer>>> |
zipWithIndex(R target) |
withAllKeyValuesinjectIntoKeyValueflatCollectWithparallelStream, spliterator, streamaggregateBy, containsBy, countBy, countBy, countByEach, countByEach, countByWith, countByWith, flatCollectWith, getAny, groupByAndCollect, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, makeString, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, reduce, reduceInPlace, reduceInPlace, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toImmutableBiMap, toImmutableMapforEachpublic SynchronizedDoubleObjectMap(MutableDoubleObjectMap<V> map)
public SynchronizedDoubleObjectMap(MutableDoubleObjectMap<V> map, Object newLock)
public V put(double key, V value)
put in interface MutableDoubleObjectMap<V>public V putPair(DoubleObjectPair<V> keyValuePair)
putPair in interface MutableDoubleObjectMap<V>public void putAll(DoubleObjectMap<? extends V> map)
putAll in interface MutableDoubleObjectMap<V>public V removeKey(double key)
removeKey in interface MutableDoubleObjectMap<V>public V remove(double key)
remove in interface MutableDoubleObjectMap<V>public V getIfAbsentPut(double key, V value)
getIfAbsentPut in interface MutableDoubleObjectMap<V>public V getIfAbsentPut(double key, Function0<? extends V> function)
getIfAbsentPut in interface MutableDoubleObjectMap<V>public V getIfAbsentPutWithKey(double key, DoubleToObjectFunction<? extends V> function)
getIfAbsentPutWithKey in interface MutableDoubleObjectMap<V>public <P> V getIfAbsentPutWith(double key, Function<? super P,? extends V> function, P parameter)
getIfAbsentPutWith in interface MutableDoubleObjectMap<V>public V updateValue(double key, Function0<? extends V> factory, Function<? super V,? extends V> function)
updateValue in interface MutableDoubleObjectMap<V>public <P> V updateValueWith(double key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
updateValueWith in interface MutableDoubleObjectMap<V>public V get(double key)
get in interface DoubleObjectMap<V>public V getIfAbsent(double key, Function0<? extends V> ifAbsent)
getIfAbsent in interface DoubleObjectMap<V>public boolean containsKey(double key)
containsKey in interface DoubleObjectMap<V>public boolean containsValue(Object value)
containsValue in interface PrimitiveObjectMap<V>public MutableDoubleObjectMap<V> tap(Procedure<? super V> procedure)
tap in interface DoubleObjectMap<V>tap in interface MutableDoubleObjectMap<V>tap in interface RichIterable<V>public void forEachValue(Procedure<? super V> procedure)
forEachValue in interface PrimitiveObjectMap<V>public void forEachKey(DoubleProcedure procedure)
forEachKey in interface DoubleObjectMap<V>public void forEachKeyValue(DoubleObjectProcedure<? super V> procedure)
forEachKeyValue in interface DoubleObjectMap<V>public MutableDoubleObjectMap<V> select(DoubleObjectPredicate<? super V> predicate)
select in interface DoubleObjectMap<V>select in interface MutableDoubleObjectMap<V>public MutableDoubleObjectMap<V> reject(DoubleObjectPredicate<? super V> predicate)
reject in interface DoubleObjectMap<V>reject in interface MutableDoubleObjectMap<V>public int size()
size in interface RichIterable<V>public boolean isEmpty()
isEmpty in interface RichIterable<V>public boolean notEmpty()
notEmpty in interface RichIterable<V>public V getFirst()
getFirst in interface RichIterable<V>public V getLast()
getLast in interface RichIterable<V>public V getOnly()
getOnly in interface RichIterable<V>public boolean contains(Object object)
contains in interface RichIterable<V>public boolean containsAllIterable(Iterable<?> source)
containsAllIterable in interface RichIterable<V>public boolean containsAll(Collection<?> source)
containsAll in interface RichIterable<V>public boolean containsNoneIterable(Iterable<?> source)
containsNoneIterable in interface RichIterable<V>public boolean containsNone(Collection<?> source)
containsNone in interface RichIterable<V>public boolean containsAnyIterable(Iterable<?> source)
containsAnyIterable in interface RichIterable<V>public boolean containsAny(Collection<?> source)
containsAny in interface RichIterable<V>public boolean containsAllArguments(Object... elements)
containsAllArguments in interface RichIterable<V>public MutableBag<V> select(Predicate<? super V> predicate)
select in interface MutablePrimitiveObjectMap<V>select in interface PrimitiveObjectMap<V>select in interface RichIterable<V>public <R extends Collection<V>> R select(Predicate<? super V> predicate, R target)
select in interface RichIterable<V>public <P> MutableBag<V> selectWith(Predicate2<? super V,? super P> predicate, P parameter)
selectWith in interface MutablePrimitiveObjectMap<V>selectWith in interface PrimitiveObjectMap<V>selectWith in interface RichIterable<V>public <P,R extends Collection<V>> R selectWith(Predicate2<? super V,? super P> predicate, P parameter, R targetCollection)
selectWith in interface RichIterable<V>public PartitionMutableBag<V> partition(Predicate<? super V> predicate)
partition in interface MutablePrimitiveObjectMap<V>partition in interface PrimitiveObjectMap<V>partition in interface RichIterable<V>public <P> PartitionMutableBag<V> partitionWith(Predicate2<? super V,? super P> predicate, P parameter)
partitionWith in interface MutablePrimitiveObjectMap<V>partitionWith in interface PrimitiveObjectMap<V>partitionWith in interface RichIterable<V>public <S> MutableBag<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface MutablePrimitiveObjectMap<V>selectInstancesOf in interface PrimitiveObjectMap<V>selectInstancesOf in interface RichIterable<V>@Deprecated public MutableSet<Pair<V,Integer>> zipWithIndex()
OrderedIterable.zipWithIndex() instead.zipWithIndex in interface MutablePrimitiveObjectMap<V>zipWithIndex in interface PrimitiveObjectMap<V>zipWithIndex in interface RichIterable<V>public <R extends Collection<Pair<V,Integer>>> R zipWithIndex(R target)
zipWithIndex in interface RichIterable<V>public RichIterable<RichIterable<V>> chunk(int size)
chunk in interface RichIterable<V>public <K,VV> MutableMap<K,VV> aggregateInPlaceBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
aggregateInPlaceBy in interface MutablePrimitiveObjectMap<V>aggregateInPlaceBy in interface RichIterable<V>public <K,VV> MutableMap<K,VV> aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
aggregateBy in interface MutablePrimitiveObjectMap<V>aggregateBy in interface RichIterable<V>public MutableBag<V> reject(Predicate<? super V> predicate)
reject in interface MutablePrimitiveObjectMap<V>reject in interface PrimitiveObjectMap<V>reject in interface RichIterable<V>public <R extends Collection<V>> R reject(Predicate<? super V> predicate, R target)
reject in interface RichIterable<V>public <P> MutableBag<V> rejectWith(Predicate2<? super V,? super P> predicate, P parameter)
rejectWith in interface MutablePrimitiveObjectMap<V>rejectWith in interface PrimitiveObjectMap<V>rejectWith in interface RichIterable<V>public <P,R extends Collection<V>> R rejectWith(Predicate2<? super V,? super P> predicate, P parameter, R targetCollection)
rejectWith in interface RichIterable<V>public void clear()
clear in interface MutablePrimitiveObjectMap<V>public <VV> MutableBag<VV> collect(Function<? super V,? extends VV> function)
collect in interface MutablePrimitiveObjectMap<V>collect in interface PrimitiveObjectMap<V>collect in interface RichIterable<V>public MutableBooleanBag collectBoolean(BooleanFunction<? super V> booleanFunction)
collectBoolean in interface MutablePrimitiveObjectMap<V>collectBoolean in interface PrimitiveObjectMap<V>collectBoolean in interface RichIterable<V>public <R extends MutableBooleanCollection> R collectBoolean(BooleanFunction<? super V> booleanFunction, R target)
collectBoolean in interface RichIterable<V>public MutableByteBag collectByte(ByteFunction<? super V> byteFunction)
collectByte in interface MutablePrimitiveObjectMap<V>collectByte in interface PrimitiveObjectMap<V>collectByte in interface RichIterable<V>public <R extends MutableByteCollection> R collectByte(ByteFunction<? super V> byteFunction, R target)
collectByte in interface RichIterable<V>public MutableCharBag collectChar(CharFunction<? super V> charFunction)
collectChar in interface MutablePrimitiveObjectMap<V>collectChar in interface PrimitiveObjectMap<V>collectChar in interface RichIterable<V>public <R extends MutableCharCollection> R collectChar(CharFunction<? super V> charFunction, R target)
collectChar in interface RichIterable<V>public MutableDoubleBag collectDouble(DoubleFunction<? super V> doubleFunction)
collectDouble in interface MutablePrimitiveObjectMap<V>collectDouble in interface PrimitiveObjectMap<V>collectDouble in interface RichIterable<V>public <R extends MutableDoubleCollection> R collectDouble(DoubleFunction<? super V> doubleFunction, R target)
collectDouble in interface RichIterable<V>public MutableFloatBag collectFloat(FloatFunction<? super V> floatFunction)
collectFloat in interface MutablePrimitiveObjectMap<V>collectFloat in interface PrimitiveObjectMap<V>collectFloat in interface RichIterable<V>public <R extends MutableFloatCollection> R collectFloat(FloatFunction<? super V> floatFunction, R target)
collectFloat in interface RichIterable<V>public MutableIntBag collectInt(IntFunction<? super V> intFunction)
collectInt in interface MutablePrimitiveObjectMap<V>collectInt in interface PrimitiveObjectMap<V>collectInt in interface RichIterable<V>public <R extends MutableIntCollection> R collectInt(IntFunction<? super V> intFunction, R target)
collectInt in interface RichIterable<V>public MutableLongBag collectLong(LongFunction<? super V> longFunction)
collectLong in interface MutablePrimitiveObjectMap<V>collectLong in interface PrimitiveObjectMap<V>collectLong in interface RichIterable<V>public <R extends MutableLongCollection> R collectLong(LongFunction<? super V> longFunction, R target)
collectLong in interface RichIterable<V>public MutableShortBag collectShort(ShortFunction<? super V> shortFunction)
collectShort in interface MutablePrimitiveObjectMap<V>collectShort in interface PrimitiveObjectMap<V>collectShort in interface RichIterable<V>public <R extends MutableShortCollection> R collectShort(ShortFunction<? super V> shortFunction, R target)
collectShort in interface RichIterable<V>public <P,VV> MutableBag<VV> collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
collectWith in interface MutablePrimitiveObjectMap<V>collectWith in interface PrimitiveObjectMap<V>collectWith in interface RichIterable<V>public <P,VV,R extends Collection<VV>> R collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
collectWith in interface RichIterable<V>public <VV,R extends Collection<VV>> R collect(Function<? super V,? extends VV> function, R target)
collect in interface RichIterable<V>public <VV> MutableBag<VV> collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function)
collectIf in interface MutablePrimitiveObjectMap<V>collectIf in interface PrimitiveObjectMap<V>collectIf in interface RichIterable<V>public <VV,R extends Collection<VV>> R collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function, R target)
collectIf in interface RichIterable<V>public <VV> MutableBag<VV> flatCollect(Function<? super V,? extends Iterable<VV>> function)
flatCollect in interface MutablePrimitiveObjectMap<V>flatCollect in interface PrimitiveObjectMap<V>flatCollect in interface RichIterable<V>public <VV,R extends Collection<VV>> R flatCollect(Function<? super V,? extends Iterable<VV>> function, R target)
flatCollect in interface RichIterable<V>public <R extends MutableByteCollection> R flatCollectByte(Function<? super V,? extends ByteIterable> function, R target)
flatCollectByte in interface RichIterable<V>public <R extends MutableCharCollection> R flatCollectChar(Function<? super V,? extends CharIterable> function, R target)
flatCollectChar in interface RichIterable<V>public <R extends MutableIntCollection> R flatCollectInt(Function<? super V,? extends IntIterable> function, R target)
flatCollectInt in interface RichIterable<V>public <R extends MutableShortCollection> R flatCollectShort(Function<? super V,? extends ShortIterable> function, R target)
flatCollectShort in interface RichIterable<V>public <R extends MutableDoubleCollection> R flatCollectDouble(Function<? super V,? extends DoubleIterable> function, R target)
flatCollectDouble in interface RichIterable<V>public <R extends MutableFloatCollection> R flatCollectFloat(Function<? super V,? extends FloatIterable> function, R target)
flatCollectFloat in interface RichIterable<V>public <R extends MutableLongCollection> R flatCollectLong(Function<? super V,? extends LongIterable> function, R target)
flatCollectLong in interface RichIterable<V>public <R extends MutableBooleanCollection> R flatCollectBoolean(Function<? super V,? extends BooleanIterable> function, R target)
flatCollectBoolean in interface RichIterable<V>public V detect(Predicate<? super V> predicate)
detect in interface RichIterable<V>public <P> V detectWith(Predicate2<? super V,? super P> predicate, P parameter)
detectWith in interface RichIterable<V>public Optional<V> detectOptional(Predicate<? super V> predicate)
detectOptional in interface RichIterable<V>public <P> Optional<V> detectWithOptional(Predicate2<? super V,? super P> predicate, P parameter)
detectWithOptional in interface RichIterable<V>public V detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
detectIfNone in interface RichIterable<V>public <P> V detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
detectWithIfNone in interface RichIterable<V>public int count(Predicate<? super V> predicate)
count in interface RichIterable<V>public <P> int countWith(Predicate2<? super V,? super P> predicate, P parameter)
countWith in interface RichIterable<V>public boolean anySatisfy(Predicate<? super V> predicate)
anySatisfy in interface RichIterable<V>public <P> boolean anySatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
anySatisfyWith in interface RichIterable<V>public boolean allSatisfy(Predicate<? super V> predicate)
allSatisfy in interface RichIterable<V>public <P> boolean allSatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
allSatisfyWith in interface RichIterable<V>public boolean noneSatisfy(Predicate<? super V> predicate)
noneSatisfy in interface RichIterable<V>public <P> boolean noneSatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
noneSatisfyWith in interface RichIterable<V>public <IV> IV injectInto(IV injectedValue,
Function2<? super IV,? super V,? extends IV> function)
injectInto in interface RichIterable<V>public int injectInto(int injectedValue,
IntObjectToIntFunction<? super V> function)
injectInto in interface RichIterable<V>public long injectInto(long injectedValue,
LongObjectToLongFunction<? super V> function)
injectInto in interface RichIterable<V>public float injectInto(float injectedValue,
FloatObjectToFloatFunction<? super V> function)
injectInto in interface RichIterable<V>public double injectInto(double injectedValue,
DoubleObjectToDoubleFunction<? super V> function)
injectInto in interface RichIterable<V>public <R extends Collection<V>> R into(R target)
into in interface RichIterable<V>public MutableList<V> toList()
toList in interface RichIterable<V>public MutableList<V> toSortedList()
toSortedList in interface RichIterable<V>public MutableList<V> toSortedList(Comparator<? super V> comparator)
toSortedList in interface RichIterable<V>public <VV extends Comparable<? super VV>> MutableList<V> toSortedListBy(Function<? super V,? extends VV> function)
toSortedListBy in interface RichIterable<V>public MutableSet<V> toSet()
toSet in interface RichIterable<V>public MutableSortedSet<V> toSortedSet()
toSortedSet in interface RichIterable<V>public MutableSortedSet<V> toSortedSet(Comparator<? super V> comparator)
toSortedSet in interface RichIterable<V>public <VV extends Comparable<? super VV>> MutableSortedSet<V> toSortedSetBy(Function<? super V,? extends VV> function)
toSortedSetBy in interface RichIterable<V>public MutableBag<V> toBag()
toBag in interface RichIterable<V>public MutableSortedBag<V> toSortedBag()
toSortedBag in interface RichIterable<V>public MutableSortedBag<V> toSortedBag(Comparator<? super V> comparator)
toSortedBag in interface RichIterable<V>public <VV extends Comparable<? super VV>> MutableSortedBag<V> toSortedBagBy(Function<? super V,? extends VV> function)
toSortedBagBy in interface RichIterable<V>public <NK,NV> MutableMap<NK,NV> toMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
toMap in interface RichIterable<V>public <NK,NV,R extends Map<NK,NV>> R toMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction, R target)
toMap in interface RichIterable<V>public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
toSortedMap in interface RichIterable<V>public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Comparator<? super NK> comparator, Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
toSortedMap in interface RichIterable<V>public <KK extends Comparable<? super KK>,NK,NV> MutableSortedMap<NK,NV> toSortedMapBy(Function<? super NK,KK> sortBy, Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
toSortedMapBy in interface RichIterable<V>public <NK,NV> MutableBiMap<NK,NV> toBiMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
toBiMap in interface RichIterable<V>public ImmutableList<V> toImmutableList()
toImmutableList in interface RichIterable<V>public ImmutableSet<V> toImmutableSet()
toImmutableSet in interface RichIterable<V>public ImmutableBag<V> toImmutableBag()
toImmutableBag in interface RichIterable<V>public ImmutableList<V> toImmutableSortedList()
toImmutableSortedList in interface RichIterable<V>public ImmutableList<V> toImmutableSortedList(Comparator<? super V> comparator)
toImmutableSortedList in interface RichIterable<V>public <VV extends Comparable<? super VV>> ImmutableList<V> toImmutableSortedListBy(Function<? super V,? extends VV> function)
toImmutableSortedListBy in interface RichIterable<V>public ImmutableSortedSet<V> toImmutableSortedSet()
toImmutableSortedSet in interface RichIterable<V>public ImmutableSortedSet<V> toImmutableSortedSet(Comparator<? super V> comparator)
toImmutableSortedSet in interface RichIterable<V>public <VV extends Comparable<? super VV>> ImmutableSortedSet<V> toImmutableSortedSetBy(Function<? super V,? extends VV> function)
toImmutableSortedSetBy in interface RichIterable<V>public ImmutableSortedBag<V> toImmutableSortedBag()
toImmutableSortedBag in interface RichIterable<V>public ImmutableSortedBag<V> toImmutableSortedBag(Comparator<? super V> comparator)
toImmutableSortedBag in interface RichIterable<V>public <VV extends Comparable<? super VV>> ImmutableSortedBag<V> toImmutableSortedBagBy(Function<? super V,? extends VV> function)
toImmutableSortedBagBy in interface RichIterable<V>public LazyIterable<V> asLazy()
asLazy in interface RichIterable<V>public Object[] toArray()
toArray in interface RichIterable<V>public <T> T[] toArray(T[] a)
toArray in interface RichIterable<V>public V min(Comparator<? super V> comparator)
min in interface RichIterable<V>public V max(Comparator<? super V> comparator)
max in interface RichIterable<V>public V min()
min in interface RichIterable<V>public V max()
max in interface RichIterable<V>public <VV extends Comparable<? super VV>> V maxBy(Function<? super V,? extends VV> function)
maxBy in interface RichIterable<V>public <VV extends Comparable<? super VV>> V minBy(Function<? super V,? extends VV> function)
minBy in interface RichIterable<V>public long sumOfInt(IntFunction<? super V> function)
sumOfInt in interface RichIterable<V>public double sumOfFloat(FloatFunction<? super V> function)
sumOfFloat in interface RichIterable<V>public long sumOfLong(LongFunction<? super V> function)
sumOfLong in interface RichIterable<V>public double sumOfDouble(DoubleFunction<? super V> function)
sumOfDouble in interface RichIterable<V>public <V1> MutableObjectLongMap<V1> sumByInt(Function<? super V,? extends V1> groupBy, IntFunction<? super V> function)
sumByInt in interface MutablePrimitiveObjectMap<V>sumByInt in interface RichIterable<V>public <V1> MutableObjectDoubleMap<V1> sumByFloat(Function<? super V,? extends V1> groupBy, FloatFunction<? super V> function)
sumByFloat in interface MutablePrimitiveObjectMap<V>sumByFloat in interface RichIterable<V>public <V1> MutableObjectLongMap<V1> sumByLong(Function<? super V,? extends V1> groupBy, LongFunction<? super V> function)
sumByLong in interface MutablePrimitiveObjectMap<V>sumByLong in interface RichIterable<V>public <V1> MutableObjectDoubleMap<V1> sumByDouble(Function<? super V,? extends V1> groupBy, DoubleFunction<? super V> function)
sumByDouble in interface MutablePrimitiveObjectMap<V>sumByDouble in interface RichIterable<V>public MutableDoubleSet keySet()
keySet in interface DoubleObjectMap<V>public Collection<V> values()
values in interface PrimitiveObjectMap<V>public LazyDoubleIterable keysView()
keysView in interface DoubleObjectMap<V>public RichIterable<DoubleObjectPair<V>> keyValuesView()
keyValuesView in interface DoubleObjectMap<V>public MutableObjectDoubleMap<V> flipUniqueValues()
flipUniqueValues in interface DoubleObjectMap<V>flipUniqueValues in interface MutableDoubleObjectMap<V>public boolean equals(Object obj)
equals in interface PrimitiveObjectMap<V>equals in class Objectpublic int hashCode()
hashCode in interface PrimitiveObjectMap<V>hashCode in class Objectpublic String toString()
toString in interface PrimitiveObjectMap<V>toString in interface RichIterable<V>toString in class Objectpublic String makeString()
makeString in interface RichIterable<V>public String makeString(String separator)
makeString in interface RichIterable<V>public String makeString(String start, String separator, String end)
makeString in interface RichIterable<V>public void appendString(Appendable appendable)
appendString in interface RichIterable<V>public void appendString(Appendable appendable, String separator)
appendString in interface RichIterable<V>public void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface RichIterable<V>public <VV> MutableBagMultimap<VV,V> groupBy(Function<? super V,? extends VV> function)
groupBy in interface MutablePrimitiveObjectMap<V>groupBy in interface PrimitiveObjectMap<V>groupBy in interface RichIterable<V>public <VV,R extends MutableMultimap<VV,V>> R groupBy(Function<? super V,? extends VV> function, R target)
groupBy in interface RichIterable<V>public <VV> MutableBagMultimap<VV,V> groupByEach(Function<? super V,? extends Iterable<VV>> function)
groupByEach in interface MutablePrimitiveObjectMap<V>groupByEach in interface PrimitiveObjectMap<V>groupByEach in interface RichIterable<V>public <VV,R extends MutableMultimap<VV,V>> R groupByEach(Function<? super V,? extends Iterable<VV>> function, R target)
groupByEach in interface RichIterable<V>public <VV> MutableMap<VV,V> groupByUniqueKey(Function<? super V,? extends VV> function)
groupByUniqueKey in interface MutablePrimitiveObjectMap<V>groupByUniqueKey in interface PrimitiveObjectMap<V>groupByUniqueKey in interface RichIterable<V>public <VV,R extends MutableMapIterable<VV,V>> R groupByUniqueKey(Function<? super V,? extends VV> function, R target)
groupByUniqueKey in interface RichIterable<V>@Deprecated public <S> MutableBag<Pair<V,S>> zip(Iterable<S> that)
OrderedIterable.zip(Iterable) instead.zip in interface MutablePrimitiveObjectMap<V>zip in interface PrimitiveObjectMap<V>zip in interface RichIterable<V>public <S,R extends Collection<Pair<V,S>>> R zip(Iterable<S> that, R target)
zip in interface RichIterable<V>public MutableDoubleObjectMap<V> withKeyValue(double key, V value)
withKeyValue in interface MutableDoubleObjectMap<V>public MutableDoubleObjectMap<V> withoutKey(double key)
withoutKey in interface MutableDoubleObjectMap<V>public MutableDoubleObjectMap<V> withoutAllKeys(DoubleIterable keys)
withoutAllKeys in interface MutableDoubleObjectMap<V>public MutableDoubleObjectMap<V> asUnmodifiable()
asUnmodifiable in interface MutableDoubleObjectMap<V>public MutableDoubleObjectMap<V> asSynchronized()
asSynchronized in interface MutableDoubleObjectMap<V>public ImmutableDoubleObjectMap<V> toImmutable()
toImmutable in interface DoubleObjectMap<V>public void forEach(Procedure<? super V> procedure)
forEach in interface InternalIterable<V>forEach in interface RichIterable<V>public void each(Procedure<? super V> procedure)
each in interface RichIterable<V>public void forEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure)
forEachWithIndex in interface InternalIterable<V>public <P> void forEachWith(Procedure2<? super V,? super P> procedure, P parameter)
forEachWith in interface InternalIterable<V>Copyright © 2004–2022. All rights reserved.