Class UnmodifiableCharFloatMap
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableCharFloatMap
-
- All Implemented Interfaces:
Serializable,FloatIterable,CharFloatMap,FloatValuesMap,MutableCharFloatMap,MutableFloatValuesMap,PrimitiveIterable
public class UnmodifiableCharFloatMap extends Object implements MutableCharFloatMap, Serializable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.- Since:
- 3.1.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableCharFloatMap(MutableCharFloatMap map)
-
Method Summary
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.CharFloatMap
injectIntoKeyValue
-
Methods inherited from interface org.eclipse.collections.api.FloatIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListBy
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.FloatValuesMap
tap
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableCharFloatMap
withAllKeyValues
-
-
-
-
Constructor Detail
-
UnmodifiableCharFloatMap
public UnmodifiableCharFloatMap(MutableCharFloatMap map)
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clearin interfaceMutableFloatValuesMap
-
put
public void put(char key, float value)- Specified by:
putin interfaceMutableCharFloatMap
-
putPair
public void putPair(CharFloatPair keyValuePair)
- Specified by:
putPairin interfaceMutableCharFloatMap
-
putAll
public void putAll(CharFloatMap map)
- Specified by:
putAllin interfaceMutableCharFloatMap
-
updateValues
public void updateValues(CharFloatToFloatFunction function)
- Specified by:
updateValuesin interfaceMutableCharFloatMap
-
removeKey
public void removeKey(char key)
- Specified by:
removeKeyin interfaceMutableCharFloatMap
-
remove
public void remove(char key)
- Specified by:
removein interfaceMutableCharFloatMap
-
removeKeyIfAbsent
public float removeKeyIfAbsent(char key, float value)- Specified by:
removeKeyIfAbsentin interfaceMutableCharFloatMap
-
getIfAbsentPut
public float getIfAbsentPut(char key, float value)- Specified by:
getIfAbsentPutin interfaceMutableCharFloatMap
-
getAndPut
public float getAndPut(char key, float putValue, float defaultValue)- Specified by:
getAndPutin interfaceMutableCharFloatMap
-
getIfAbsentPut
public float getIfAbsentPut(char key, FloatFunction0 function)- Specified by:
getIfAbsentPutin interfaceMutableCharFloatMap
-
getIfAbsentPutWithKey
public float getIfAbsentPutWithKey(char key, CharToFloatFunction function)- Specified by:
getIfAbsentPutWithKeyin interfaceMutableCharFloatMap
-
getIfAbsentPutWith
public <P> float getIfAbsentPutWith(char key, FloatFunction<? super P> function, P parameter)- Specified by:
getIfAbsentPutWithin interfaceMutableCharFloatMap
-
updateValue
public float updateValue(char key, float initialValueIfAbsent, FloatToFloatFunction function)- Specified by:
updateValuein interfaceMutableCharFloatMap
-
get
public float get(char key)
- Specified by:
getin interfaceCharFloatMap
-
getIfAbsent
public float getIfAbsent(char key, float ifAbsent)- Specified by:
getIfAbsentin interfaceCharFloatMap
-
getOrThrow
public float getOrThrow(char key)
- Specified by:
getOrThrowin interfaceCharFloatMap
-
containsKey
public boolean containsKey(char key)
- Specified by:
containsKeyin interfaceCharFloatMap
-
containsValue
public boolean containsValue(float value)
- Specified by:
containsValuein interfaceFloatValuesMap
-
forEachValue
public void forEachValue(FloatProcedure procedure)
- Specified by:
forEachValuein interfaceFloatValuesMap
-
forEachKey
public void forEachKey(CharProcedure procedure)
- Specified by:
forEachKeyin interfaceCharFloatMap
-
forEachKeyValue
public void forEachKeyValue(CharFloatProcedure procedure)
- Specified by:
forEachKeyValuein interfaceCharFloatMap
-
keysView
public LazyCharIterable keysView()
- Specified by:
keysViewin interfaceCharFloatMap
-
keyValuesView
public RichIterable<CharFloatPair> keyValuesView()
- Specified by:
keyValuesViewin interfaceCharFloatMap
-
flipUniqueValues
public MutableFloatCharMap flipUniqueValues()
- Specified by:
flipUniqueValuesin interfaceCharFloatMap- Specified by:
flipUniqueValuesin interfaceMutableCharFloatMap
-
select
public MutableCharFloatMap select(CharFloatPredicate predicate)
- Specified by:
selectin interfaceCharFloatMap- Specified by:
selectin interfaceMutableCharFloatMap
-
reject
public MutableCharFloatMap reject(CharFloatPredicate predicate)
- Specified by:
rejectin interfaceCharFloatMap- Specified by:
rejectin interfaceMutableCharFloatMap
-
floatIterator
public MutableFloatIterator floatIterator()
- Specified by:
floatIteratorin interfaceFloatIterable- Specified by:
floatIteratorin interfaceMutableFloatValuesMap
-
each
public void each(FloatProcedure procedure)
- Specified by:
eachin interfaceFloatIterable- Since:
- 7.0.
-
count
public int count(FloatPredicate predicate)
- Specified by:
countin interfaceFloatIterable
-
anySatisfy
public boolean anySatisfy(FloatPredicate predicate)
- Specified by:
anySatisfyin interfaceFloatIterable
-
allSatisfy
public boolean allSatisfy(FloatPredicate predicate)
- Specified by:
allSatisfyin interfaceFloatIterable
-
noneSatisfy
public boolean noneSatisfy(FloatPredicate predicate)
- Specified by:
noneSatisfyin interfaceFloatIterable
-
select
public MutableFloatBag select(FloatPredicate predicate)
- Specified by:
selectin interfaceFloatIterable- Specified by:
selectin interfaceFloatValuesMap- Specified by:
selectin interfaceMutableFloatValuesMap
-
reject
public MutableFloatBag reject(FloatPredicate predicate)
- Specified by:
rejectin interfaceFloatIterable- Specified by:
rejectin interfaceFloatValuesMap- Specified by:
rejectin interfaceMutableFloatValuesMap
-
collect
public <V> MutableBag<V> collect(FloatToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceFloatIterable- Specified by:
collectin interfaceFloatValuesMap- Specified by:
collectin interfaceMutableFloatValuesMap
-
detectIfNone
public float detectIfNone(FloatPredicate predicate, float ifNone)
- Specified by:
detectIfNonein interfaceFloatIterable
-
sum
public double sum()
- Specified by:
sumin interfaceFloatIterable
-
max
public float max()
- Specified by:
maxin interfaceFloatIterable
-
maxIfEmpty
public float maxIfEmpty(float defaultValue)
- Specified by:
maxIfEmptyin interfaceFloatIterable
-
min
public float min()
- Specified by:
minin interfaceFloatIterable
-
minIfEmpty
public float minIfEmpty(float defaultValue)
- Specified by:
minIfEmptyin interfaceFloatIterable
-
average
public double average()
- Specified by:
averagein interfaceFloatIterable
-
median
public double median()
- Specified by:
medianin interfaceFloatIterable
-
addToValue
public float addToValue(char key, float toBeAdded)- Specified by:
addToValuein interfaceMutableCharFloatMap
-
toSortedArray
public float[] toSortedArray()
- Specified by:
toSortedArrayin interfaceFloatIterable
-
toSortedList
public MutableFloatList toSortedList()
- Specified by:
toSortedListin interfaceFloatIterable
-
toArray
public float[] toArray()
- Specified by:
toArrayin interfaceFloatIterable
-
toArray
public float[] toArray(float[] target)
- Specified by:
toArrayin interfaceFloatIterable
-
contains
public boolean contains(float value)
- Specified by:
containsin interfaceFloatIterable
-
containsAll
public boolean containsAll(float... source)
- Specified by:
containsAllin interfaceFloatIterable
-
containsAll
public boolean containsAll(FloatIterable source)
- Specified by:
containsAllin interfaceFloatIterable
-
toList
public MutableFloatList toList()
- Specified by:
toListin interfaceFloatIterable
-
toSet
public MutableFloatSet toSet()
- Specified by:
toSetin interfaceFloatIterable
-
toBag
public MutableFloatBag toBag()
- Specified by:
toBagin interfaceFloatIterable
-
asLazy
public LazyFloatIterable asLazy()
- Specified by:
asLazyin interfaceFloatIterable
-
withKeyValue
public MutableCharFloatMap withKeyValue(char key, float value)
- Specified by:
withKeyValuein interfaceMutableCharFloatMap
-
withoutKey
public MutableCharFloatMap withoutKey(char key)
- Specified by:
withoutKeyin interfaceMutableCharFloatMap
-
withoutAllKeys
public MutableCharFloatMap withoutAllKeys(CharIterable keys)
- Specified by:
withoutAllKeysin interfaceMutableCharFloatMap
-
asUnmodifiable
public MutableCharFloatMap asUnmodifiable()
- Specified by:
asUnmodifiablein interfaceMutableCharFloatMap
-
asSynchronized
public MutableCharFloatMap asSynchronized()
- Specified by:
asSynchronizedin interfaceMutableCharFloatMap
-
toImmutable
public ImmutableCharFloatMap toImmutable()
- Specified by:
toImmutablein interfaceCharFloatMap
-
size
public int size()
- Specified by:
sizein interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmptyin interfacePrimitiveIterable
-
keySet
public MutableCharSet keySet()
- Specified by:
keySetin interfaceCharFloatMap
-
values
public MutableFloatCollection values()
- Specified by:
valuesin interfaceFloatValuesMap
-
equals
public boolean equals(Object otherMap)
- Specified by:
equalsin interfaceCharFloatMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceCharFloatMap- Overrides:
hashCodein classObject
-
toString
public String toString()
- Specified by:
toStringin interfaceCharFloatMap- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
makeString
public String makeString()
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String separator)
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendStringin interfacePrimitiveIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectFloatToObjectFunction<? super T,? extends T> function)- Specified by:
injectIntoin interfaceFloatIterable
-
chunk
public RichIterable<FloatIterable> chunk(int size)
- Specified by:
chunkin interfaceFloatIterable
-
-