Class UnmodifiableFloatCharMap
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableFloatCharMap
-
- All Implemented Interfaces:
Serializable,CharIterable,CharValuesMap,FloatCharMap,MutableCharValuesMap,MutableFloatCharMap,PrimitiveIterable
public class UnmodifiableFloatCharMap extends Object implements MutableFloatCharMap, Serializable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.- Since:
- 3.1.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableFloatCharMap(MutableFloatCharMap map)
-
Method Summary
-
Methods inherited from interface org.eclipse.collections.api.CharIterable
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.CharValuesMap
tap
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.FloatCharMap
injectIntoKeyValue
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableFloatCharMap
withAllKeyValues
-
-
-
-
Constructor Detail
-
UnmodifiableFloatCharMap
public UnmodifiableFloatCharMap(MutableFloatCharMap map)
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clearin interfaceMutableCharValuesMap
-
put
public void put(float key, char value)- Specified by:
putin interfaceMutableFloatCharMap
-
putPair
public void putPair(FloatCharPair keyValuePair)
- Specified by:
putPairin interfaceMutableFloatCharMap
-
putAll
public void putAll(FloatCharMap map)
- Specified by:
putAllin interfaceMutableFloatCharMap
-
updateValues
public void updateValues(FloatCharToCharFunction function)
- Specified by:
updateValuesin interfaceMutableFloatCharMap
-
removeKey
public void removeKey(float key)
- Specified by:
removeKeyin interfaceMutableFloatCharMap
-
remove
public void remove(float key)
- Specified by:
removein interfaceMutableFloatCharMap
-
removeKeyIfAbsent
public char removeKeyIfAbsent(float key, char value)- Specified by:
removeKeyIfAbsentin interfaceMutableFloatCharMap
-
getIfAbsentPut
public char getIfAbsentPut(float key, char value)- Specified by:
getIfAbsentPutin interfaceMutableFloatCharMap
-
getAndPut
public char getAndPut(float key, char putValue, char defaultValue)- Specified by:
getAndPutin interfaceMutableFloatCharMap
-
getIfAbsentPut
public char getIfAbsentPut(float key, CharFunction0 function)- Specified by:
getIfAbsentPutin interfaceMutableFloatCharMap
-
getIfAbsentPutWithKey
public char getIfAbsentPutWithKey(float key, FloatToCharFunction function)- Specified by:
getIfAbsentPutWithKeyin interfaceMutableFloatCharMap
-
getIfAbsentPutWith
public <P> char getIfAbsentPutWith(float key, CharFunction<? super P> function, P parameter)- Specified by:
getIfAbsentPutWithin interfaceMutableFloatCharMap
-
updateValue
public char updateValue(float key, char initialValueIfAbsent, CharToCharFunction function)- Specified by:
updateValuein interfaceMutableFloatCharMap
-
get
public char get(float key)
- Specified by:
getin interfaceFloatCharMap
-
getIfAbsent
public char getIfAbsent(float key, char ifAbsent)- Specified by:
getIfAbsentin interfaceFloatCharMap
-
getOrThrow
public char getOrThrow(float key)
- Specified by:
getOrThrowin interfaceFloatCharMap
-
containsKey
public boolean containsKey(float key)
- Specified by:
containsKeyin interfaceFloatCharMap
-
containsValue
public boolean containsValue(char value)
- Specified by:
containsValuein interfaceCharValuesMap
-
forEachValue
public void forEachValue(CharProcedure procedure)
- Specified by:
forEachValuein interfaceCharValuesMap
-
forEachKey
public void forEachKey(FloatProcedure procedure)
- Specified by:
forEachKeyin interfaceFloatCharMap
-
forEachKeyValue
public void forEachKeyValue(FloatCharProcedure procedure)
- Specified by:
forEachKeyValuein interfaceFloatCharMap
-
keysView
public LazyFloatIterable keysView()
- Specified by:
keysViewin interfaceFloatCharMap
-
keyValuesView
public RichIterable<FloatCharPair> keyValuesView()
- Specified by:
keyValuesViewin interfaceFloatCharMap
-
flipUniqueValues
public MutableCharFloatMap flipUniqueValues()
- Specified by:
flipUniqueValuesin interfaceFloatCharMap- Specified by:
flipUniqueValuesin interfaceMutableFloatCharMap
-
select
public MutableFloatCharMap select(FloatCharPredicate predicate)
- Specified by:
selectin interfaceFloatCharMap- Specified by:
selectin interfaceMutableFloatCharMap
-
reject
public MutableFloatCharMap reject(FloatCharPredicate predicate)
- Specified by:
rejectin interfaceFloatCharMap- Specified by:
rejectin interfaceMutableFloatCharMap
-
charIterator
public MutableCharIterator charIterator()
- Specified by:
charIteratorin interfaceCharIterable- Specified by:
charIteratorin interfaceMutableCharValuesMap
-
each
public void each(CharProcedure procedure)
- Specified by:
eachin interfaceCharIterable- Since:
- 7.0.
-
count
public int count(CharPredicate predicate)
- Specified by:
countin interfaceCharIterable
-
anySatisfy
public boolean anySatisfy(CharPredicate predicate)
- Specified by:
anySatisfyin interfaceCharIterable
-
allSatisfy
public boolean allSatisfy(CharPredicate predicate)
- Specified by:
allSatisfyin interfaceCharIterable
-
noneSatisfy
public boolean noneSatisfy(CharPredicate predicate)
- Specified by:
noneSatisfyin interfaceCharIterable
-
select
public MutableCharBag select(CharPredicate predicate)
- Specified by:
selectin interfaceCharIterable- Specified by:
selectin interfaceCharValuesMap- Specified by:
selectin interfaceMutableCharValuesMap
-
reject
public MutableCharBag reject(CharPredicate predicate)
- Specified by:
rejectin interfaceCharIterable- Specified by:
rejectin interfaceCharValuesMap- Specified by:
rejectin interfaceMutableCharValuesMap
-
collect
public <V> MutableBag<V> collect(CharToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceCharIterable- Specified by:
collectin interfaceCharValuesMap- Specified by:
collectin interfaceMutableCharValuesMap
-
detectIfNone
public char detectIfNone(CharPredicate predicate, char ifNone)
- Specified by:
detectIfNonein interfaceCharIterable
-
sum
public long sum()
- Specified by:
sumin interfaceCharIterable
-
max
public char max()
- Specified by:
maxin interfaceCharIterable
-
maxIfEmpty
public char maxIfEmpty(char defaultValue)
- Specified by:
maxIfEmptyin interfaceCharIterable
-
min
public char min()
- Specified by:
minin interfaceCharIterable
-
minIfEmpty
public char minIfEmpty(char defaultValue)
- Specified by:
minIfEmptyin interfaceCharIterable
-
average
public double average()
- Specified by:
averagein interfaceCharIterable
-
median
public double median()
- Specified by:
medianin interfaceCharIterable
-
addToValue
public char addToValue(float key, char toBeAdded)- Specified by:
addToValuein interfaceMutableFloatCharMap
-
toSortedArray
public char[] toSortedArray()
- Specified by:
toSortedArrayin interfaceCharIterable
-
toSortedList
public MutableCharList toSortedList()
- Specified by:
toSortedListin interfaceCharIterable
-
toArray
public char[] toArray()
- Specified by:
toArrayin interfaceCharIterable
-
toArray
public char[] toArray(char[] target)
- Specified by:
toArrayin interfaceCharIterable
-
contains
public boolean contains(char value)
- Specified by:
containsin interfaceCharIterable
-
containsAll
public boolean containsAll(char... source)
- Specified by:
containsAllin interfaceCharIterable
-
containsAll
public boolean containsAll(CharIterable source)
- Specified by:
containsAllin interfaceCharIterable
-
toList
public MutableCharList toList()
- Specified by:
toListin interfaceCharIterable
-
toSet
public MutableCharSet toSet()
- Specified by:
toSetin interfaceCharIterable
-
toBag
public MutableCharBag toBag()
- Specified by:
toBagin interfaceCharIterable
-
asLazy
public LazyCharIterable asLazy()
- Specified by:
asLazyin interfaceCharIterable
-
withKeyValue
public MutableFloatCharMap withKeyValue(float key, char value)
- Specified by:
withKeyValuein interfaceMutableFloatCharMap
-
withoutKey
public MutableFloatCharMap withoutKey(float key)
- Specified by:
withoutKeyin interfaceMutableFloatCharMap
-
withoutAllKeys
public MutableFloatCharMap withoutAllKeys(FloatIterable keys)
- Specified by:
withoutAllKeysin interfaceMutableFloatCharMap
-
asUnmodifiable
public MutableFloatCharMap asUnmodifiable()
- Specified by:
asUnmodifiablein interfaceMutableFloatCharMap
-
asSynchronized
public MutableFloatCharMap asSynchronized()
- Specified by:
asSynchronizedin interfaceMutableFloatCharMap
-
toImmutable
public ImmutableFloatCharMap toImmutable()
- Specified by:
toImmutablein interfaceFloatCharMap
-
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 MutableFloatSet keySet()
- Specified by:
keySetin interfaceFloatCharMap
-
values
public MutableCharCollection values()
- Specified by:
valuesin interfaceCharValuesMap
-
equals
public boolean equals(Object otherMap)
- Specified by:
equalsin interfaceFloatCharMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceFloatCharMap- Overrides:
hashCodein classObject
-
toString
public String toString()
- Specified by:
toStringin interfaceFloatCharMap- 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, ObjectCharToObjectFunction<? super T,? extends T> function)- Specified by:
injectIntoin interfaceCharIterable
-
chunk
public RichIterable<CharIterable> chunk(int size)
- Specified by:
chunkin interfaceCharIterable
-
-