public final class UnmodifiableShortFloatMap extends Object implements org.eclipse.collections.api.map.primitive.MutableShortFloatMap, Serializable
| Modifier and Type | Method and Description |
|---|---|
float |
addToValue(short key,
float toBeAdded) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate 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.LazyFloatIterable |
asLazy() |
org.eclipse.collections.api.map.primitive.MutableShortFloatMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableShortFloatMap |
asUnmodifiable() |
double |
average() |
void |
clear() |
<V> org.eclipse.collections.api.collection.MutableCollection<V> |
collect(org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function) |
boolean |
contains(float value) |
boolean |
containsAll(float... source) |
boolean |
containsAll(org.eclipse.collections.api.FloatIterable source) |
boolean |
containsKey(short key) |
boolean |
containsValue(float value) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
float |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate,
float ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
boolean |
equals(Object otherMap) |
org.eclipse.collections.api.iterator.MutableFloatIterator |
floatIterator() |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ShortFloatProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
float |
get(short key) |
float |
getIfAbsent(short key,
float ifAbsent) |
float |
getIfAbsentPut(short key,
float value) |
float |
getIfAbsentPut(short key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function) |
<P> float |
getIfAbsentPutWith(short key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter) |
float |
getIfAbsentPutWithKey(short key,
org.eclipse.collections.api.block.function.primitive.ShortToFloatFunction function) |
float |
getOrThrow(short key) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectFloatToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
org.eclipse.collections.api.set.primitive.MutableShortSet |
keySet() |
org.eclipse.collections.api.LazyShortIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ShortFloatPair> |
keyValuesView() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
float |
max() |
float |
maxIfEmpty(float defaultValue) |
double |
median() |
float |
min() |
float |
minIfEmpty(float defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
boolean |
notEmpty() |
void |
put(short key,
float value) |
void |
putAll(org.eclipse.collections.api.map.primitive.ShortFloatMap map) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableShortFloatMap |
reject(org.eclipse.collections.api.block.predicate.primitive.ShortFloatPredicate predicate) |
void |
remove(short key) |
void |
removeKey(short key) |
float |
removeKeyIfAbsent(short key,
float value) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
select(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableShortFloatMap |
select(org.eclipse.collections.api.block.predicate.primitive.ShortFloatPredicate predicate) |
int |
size() |
double |
sum() |
float[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableFloatBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableShortFloatMap |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableFloatList |
toList() |
org.eclipse.collections.api.set.primitive.MutableFloatSet |
toSet() |
float[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableFloatList |
toSortedList() |
String |
toString() |
float |
updateValue(short key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
values() |
org.eclipse.collections.api.map.primitive.MutableShortFloatMap |
withKeyValue(short key,
float value) |
org.eclipse.collections.api.map.primitive.MutableShortFloatMap |
withoutAllKeys(org.eclipse.collections.api.ShortIterable keys) |
org.eclipse.collections.api.map.primitive.MutableShortFloatMap |
withoutKey(short key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic void put(short key,
float value)
put in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic void putAll(org.eclipse.collections.api.map.primitive.ShortFloatMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic void removeKey(short key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic void remove(short key)
remove in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic float removeKeyIfAbsent(short key,
float value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic float getIfAbsentPut(short key,
float value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic float getIfAbsentPut(short key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic float getIfAbsentPutWithKey(short key,
org.eclipse.collections.api.block.function.primitive.ShortToFloatFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic <P> float getIfAbsentPutWith(short key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic float updateValue(short key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic float get(short key)
get in interface org.eclipse.collections.api.map.primitive.ShortFloatMappublic float getIfAbsent(short key,
float ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.ShortFloatMappublic float getOrThrow(short key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.ShortFloatMappublic boolean containsKey(short key)
containsKey in interface org.eclipse.collections.api.map.primitive.ShortFloatMappublic boolean containsValue(float value)
containsValue in interface org.eclipse.collections.api.map.primitive.FloatValuesMappublic void forEachValue(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEachValue in interface org.eclipse.collections.api.map.primitive.FloatValuesMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.ShortFloatMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ShortFloatProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.ShortFloatMappublic org.eclipse.collections.api.LazyShortIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.ShortFloatMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ShortFloatPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.ShortFloatMappublic org.eclipse.collections.api.map.primitive.MutableShortFloatMap select(org.eclipse.collections.api.block.predicate.primitive.ShortFloatPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMapselect in interface org.eclipse.collections.api.map.primitive.ShortFloatMappublic org.eclipse.collections.api.map.primitive.MutableShortFloatMap reject(org.eclipse.collections.api.block.predicate.primitive.ShortFloatPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMapreject in interface org.eclipse.collections.api.map.primitive.ShortFloatMappublic org.eclipse.collections.api.iterator.MutableFloatIterator floatIterator()
floatIterator in interface org.eclipse.collections.api.FloatIterablefloatIterator in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic void forEach(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEach in interface org.eclipse.collections.api.FloatIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
each in interface org.eclipse.collections.api.FloatIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
count in interface org.eclipse.collections.api.FloatIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
anySatisfy in interface org.eclipse.collections.api.FloatIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
allSatisfy in interface org.eclipse.collections.api.FloatIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.collection.primitive.MutableFloatCollection select(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
select in interface org.eclipse.collections.api.FloatIterableselect in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic org.eclipse.collections.api.collection.primitive.MutableFloatCollection reject(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
reject in interface org.eclipse.collections.api.FloatIterablereject in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic float detectIfNone(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate,
float ifNone)
detectIfNone in interface org.eclipse.collections.api.FloatIterablepublic <V> org.eclipse.collections.api.collection.MutableCollection<V> collect(org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.FloatIterablecollect in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic double sum()
sum in interface org.eclipse.collections.api.FloatIterablepublic float max()
max in interface org.eclipse.collections.api.FloatIterablepublic float maxIfEmpty(float defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.FloatIterablepublic float min()
min in interface org.eclipse.collections.api.FloatIterablepublic float minIfEmpty(float defaultValue)
minIfEmpty in interface org.eclipse.collections.api.FloatIterablepublic double average()
average in interface org.eclipse.collections.api.FloatIterablepublic double median()
median in interface org.eclipse.collections.api.FloatIterablepublic float addToValue(short key,
float toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic float[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.list.primitive.MutableFloatList toSortedList()
toSortedList in interface org.eclipse.collections.api.FloatIterablepublic float[] toArray()
toArray in interface org.eclipse.collections.api.FloatIterablepublic boolean contains(float value)
contains in interface org.eclipse.collections.api.FloatIterablepublic boolean containsAll(float... source)
containsAll in interface org.eclipse.collections.api.FloatIterablepublic boolean containsAll(org.eclipse.collections.api.FloatIterable source)
containsAll in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.list.primitive.MutableFloatList toList()
toList in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.set.primitive.MutableFloatSet toSet()
toSet in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.bag.primitive.MutableFloatBag toBag()
toBag in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.LazyFloatIterable asLazy()
asLazy in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.map.primitive.MutableShortFloatMap withKeyValue(short key,
float value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic org.eclipse.collections.api.map.primitive.MutableShortFloatMap withoutKey(short key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic org.eclipse.collections.api.map.primitive.MutableShortFloatMap withoutAllKeys(org.eclipse.collections.api.ShortIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic org.eclipse.collections.api.map.primitive.MutableShortFloatMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic org.eclipse.collections.api.map.primitive.MutableShortFloatMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableShortFloatMappublic org.eclipse.collections.api.map.primitive.ImmutableShortFloatMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.ShortFloatMappublic 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.MutableShortSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.ShortFloatMappublic org.eclipse.collections.api.collection.primitive.MutableFloatCollection values()
values in interface org.eclipse.collections.api.map.primitive.FloatValuesMappublic 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.ObjectFloatToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.FloatIterableCopyright © 2004–2017. All rights reserved.