public final class SynchronizedLongIntMap extends Object implements org.eclipse.collections.api.map.primitive.MutableLongIntMap, Serializable
MutableLongIntMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
MutableIntIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitivePrimitiveMap.stg.
MutableLongIntMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
int |
addToValue(long key,
int toBeAdded) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyIntIterable |
asLazy() |
org.eclipse.collections.api.map.primitive.MutableLongIntMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableLongIntMap |
asUnmodifiable() |
double |
average() |
void |
clear() |
<V> org.eclipse.collections.api.collection.MutableCollection<V> |
collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction<? extends V> function) |
boolean |
contains(int value) |
boolean |
containsAll(int... source) |
boolean |
containsAll(org.eclipse.collections.api.IntIterable source) |
boolean |
containsKey(long key) |
boolean |
containsValue(int value) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
int |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate,
int ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure) |
boolean |
equals(Object otherMap) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.LongIntProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure) |
int |
get(long key) |
int |
getIfAbsent(long key,
int ifAbsent) |
int |
getIfAbsentPut(long key,
int value) |
int |
getIfAbsentPut(long key,
org.eclipse.collections.api.block.function.primitive.IntFunction0 function) |
<P> int |
getIfAbsentPutWith(long key,
org.eclipse.collections.api.block.function.primitive.IntFunction<? super P> function,
P parameter) |
int |
getIfAbsentPutWithKey(long key,
org.eclipse.collections.api.block.function.primitive.LongToIntFunction function) |
int |
getOrThrow(long key) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction<? super T,? extends T> function) |
org.eclipse.collections.api.iterator.MutableIntIterator |
intIterator()
This must be manually synchronized by the developer.
|
boolean |
isEmpty() |
org.eclipse.collections.api.set.primitive.MutableLongSet |
keySet() |
org.eclipse.collections.api.LazyLongIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.LongIntPair> |
keyValuesView() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
int |
max() |
int |
maxIfEmpty(int defaultValue) |
double |
median() |
int |
min() |
int |
minIfEmpty(int defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
boolean |
notEmpty() |
void |
put(long key,
int value) |
void |
putAll(org.eclipse.collections.api.map.primitive.LongIntMap map) |
org.eclipse.collections.api.collection.primitive.MutableIntCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableLongIntMap |
reject(org.eclipse.collections.api.block.predicate.primitive.LongIntPredicate predicate) |
void |
remove(long key) |
void |
removeKey(long key) |
int |
removeKeyIfAbsent(long key,
int value) |
org.eclipse.collections.api.collection.primitive.MutableIntCollection |
select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableLongIntMap |
select(org.eclipse.collections.api.block.predicate.primitive.LongIntPredicate predicate) |
int |
size() |
long |
sum() |
int[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableIntBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableLongIntMap |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableIntList |
toList() |
org.eclipse.collections.api.set.primitive.MutableIntSet |
toSet() |
int[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableIntList |
toSortedList() |
String |
toString() |
int |
updateValue(long key,
int initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.IntToIntFunction function) |
org.eclipse.collections.api.collection.primitive.MutableIntCollection |
values() |
org.eclipse.collections.api.map.primitive.MutableLongIntMap |
withKeyValue(long key,
int value) |
org.eclipse.collections.api.map.primitive.MutableLongIntMap |
withoutAllKeys(org.eclipse.collections.api.LongIterable keys) |
org.eclipse.collections.api.map.primitive.MutableLongIntMap |
withoutKey(long key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableIntValuesMappublic void put(long key,
int value)
put in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic void putAll(org.eclipse.collections.api.map.primitive.LongIntMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic void removeKey(long key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic void remove(long key)
remove in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic int removeKeyIfAbsent(long key,
int value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic int getIfAbsentPut(long key,
int value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic int getIfAbsentPut(long key,
org.eclipse.collections.api.block.function.primitive.IntFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic int getIfAbsentPutWithKey(long key,
org.eclipse.collections.api.block.function.primitive.LongToIntFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic <P> int getIfAbsentPutWith(long key,
org.eclipse.collections.api.block.function.primitive.IntFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic int updateValue(long key,
int initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.IntToIntFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic int get(long key)
get in interface org.eclipse.collections.api.map.primitive.LongIntMappublic int getIfAbsent(long key,
int ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.LongIntMappublic int getOrThrow(long key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.LongIntMappublic boolean containsKey(long key)
containsKey in interface org.eclipse.collections.api.map.primitive.LongIntMappublic boolean containsValue(int value)
containsValue in interface org.eclipse.collections.api.map.primitive.IntValuesMappublic void forEachValue(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure)
forEachValue in interface org.eclipse.collections.api.map.primitive.IntValuesMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.LongIntMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.LongIntProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.LongIntMappublic org.eclipse.collections.api.LazyLongIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.LongIntMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.LongIntPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.LongIntMappublic org.eclipse.collections.api.map.primitive.MutableLongIntMap select(org.eclipse.collections.api.block.predicate.primitive.LongIntPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.LongIntMapselect in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic org.eclipse.collections.api.map.primitive.MutableLongIntMap reject(org.eclipse.collections.api.block.predicate.primitive.LongIntPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.LongIntMapreject in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic org.eclipse.collections.api.iterator.MutableIntIterator intIterator()
intIterator in interface org.eclipse.collections.api.IntIterableintIterator in interface org.eclipse.collections.api.map.primitive.MutableIntValuesMappublic void forEach(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure)
forEach in interface org.eclipse.collections.api.IntIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure)
each in interface org.eclipse.collections.api.IntIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
count in interface org.eclipse.collections.api.IntIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
anySatisfy in interface org.eclipse.collections.api.IntIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
allSatisfy in interface org.eclipse.collections.api.IntIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.collection.primitive.MutableIntCollection select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
select in interface org.eclipse.collections.api.IntIterableselect in interface org.eclipse.collections.api.map.primitive.MutableIntValuesMappublic org.eclipse.collections.api.collection.primitive.MutableIntCollection reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
reject in interface org.eclipse.collections.api.IntIterablereject in interface org.eclipse.collections.api.map.primitive.MutableIntValuesMappublic int detectIfNone(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate,
int ifNone)
detectIfNone in interface org.eclipse.collections.api.IntIterablepublic <V> org.eclipse.collections.api.collection.MutableCollection<V> collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.IntIterablecollect in interface org.eclipse.collections.api.map.primitive.MutableIntValuesMappublic long sum()
sum in interface org.eclipse.collections.api.IntIterablepublic int max()
max in interface org.eclipse.collections.api.IntIterablepublic int maxIfEmpty(int defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.IntIterablepublic int min()
min in interface org.eclipse.collections.api.IntIterablepublic int minIfEmpty(int defaultValue)
minIfEmpty in interface org.eclipse.collections.api.IntIterablepublic double average()
average in interface org.eclipse.collections.api.IntIterablepublic double median()
median in interface org.eclipse.collections.api.IntIterablepublic int addToValue(long key,
int toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic int[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.list.primitive.MutableIntList toSortedList()
toSortedList in interface org.eclipse.collections.api.IntIterablepublic int[] toArray()
toArray in interface org.eclipse.collections.api.IntIterablepublic boolean contains(int value)
contains in interface org.eclipse.collections.api.IntIterablepublic boolean containsAll(int... source)
containsAll in interface org.eclipse.collections.api.IntIterablepublic boolean containsAll(org.eclipse.collections.api.IntIterable source)
containsAll in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.list.primitive.MutableIntList toList()
toList in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.set.primitive.MutableIntSet toSet()
toSet in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.bag.primitive.MutableIntBag toBag()
toBag in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.LazyIntIterable asLazy()
asLazy in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.map.primitive.MutableLongIntMap withKeyValue(long key,
int value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic org.eclipse.collections.api.map.primitive.MutableLongIntMap withoutKey(long key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic org.eclipse.collections.api.map.primitive.MutableLongIntMap withoutAllKeys(org.eclipse.collections.api.LongIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic org.eclipse.collections.api.map.primitive.MutableLongIntMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic org.eclipse.collections.api.map.primitive.MutableLongIntMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableLongIntMappublic org.eclipse.collections.api.map.primitive.ImmutableLongIntMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.LongIntMappublic int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic org.eclipse.collections.api.set.primitive.MutableLongSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.LongIntMappublic org.eclipse.collections.api.collection.primitive.MutableIntCollection values()
values in interface org.eclipse.collections.api.map.primitive.IntValuesMappublic boolean equals(Object otherMap)
public int hashCode()
public String toString()
public String makeString()
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String separator)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.IntIterableCopyright © 2004–2018. All rights reserved.