Class UnmodifiableFloatByteMap
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableFloatByteMap
-
- All Implemented Interfaces:
Serializable,ByteIterable,ByteValuesMap,FloatByteMap,MutableByteValuesMap,MutableFloatByteMap,PrimitiveIterable
public class UnmodifiableFloatByteMap extends Object implements MutableFloatByteMap, Serializable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.- Since:
- 3.1.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableFloatByteMap(MutableFloatByteMap map)
-
Method Summary
-
Methods inherited from interface org.eclipse.collections.api.ByteIterable
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.ByteValuesMap
tap
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.FloatByteMap
injectIntoKeyValue
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableFloatByteMap
withAllKeyValues
-
-
-
-
Constructor Detail
-
UnmodifiableFloatByteMap
public UnmodifiableFloatByteMap(MutableFloatByteMap map)
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clearin interfaceMutableByteValuesMap
-
put
public void put(float key, byte value)- Specified by:
putin interfaceMutableFloatByteMap
-
putPair
public void putPair(FloatBytePair keyValuePair)
- Specified by:
putPairin interfaceMutableFloatByteMap
-
putAll
public void putAll(FloatByteMap map)
- Specified by:
putAllin interfaceMutableFloatByteMap
-
updateValues
public void updateValues(FloatByteToByteFunction function)
- Specified by:
updateValuesin interfaceMutableFloatByteMap
-
removeKey
public void removeKey(float key)
- Specified by:
removeKeyin interfaceMutableFloatByteMap
-
remove
public void remove(float key)
- Specified by:
removein interfaceMutableFloatByteMap
-
removeKeyIfAbsent
public byte removeKeyIfAbsent(float key, byte value)- Specified by:
removeKeyIfAbsentin interfaceMutableFloatByteMap
-
getIfAbsentPut
public byte getIfAbsentPut(float key, byte value)- Specified by:
getIfAbsentPutin interfaceMutableFloatByteMap
-
getAndPut
public byte getAndPut(float key, byte putValue, byte defaultValue)- Specified by:
getAndPutin interfaceMutableFloatByteMap
-
getIfAbsentPut
public byte getIfAbsentPut(float key, ByteFunction0 function)- Specified by:
getIfAbsentPutin interfaceMutableFloatByteMap
-
getIfAbsentPutWithKey
public byte getIfAbsentPutWithKey(float key, FloatToByteFunction function)- Specified by:
getIfAbsentPutWithKeyin interfaceMutableFloatByteMap
-
getIfAbsentPutWith
public <P> byte getIfAbsentPutWith(float key, ByteFunction<? super P> function, P parameter)- Specified by:
getIfAbsentPutWithin interfaceMutableFloatByteMap
-
updateValue
public byte updateValue(float key, byte initialValueIfAbsent, ByteToByteFunction function)- Specified by:
updateValuein interfaceMutableFloatByteMap
-
get
public byte get(float key)
- Specified by:
getin interfaceFloatByteMap
-
getIfAbsent
public byte getIfAbsent(float key, byte ifAbsent)- Specified by:
getIfAbsentin interfaceFloatByteMap
-
getOrThrow
public byte getOrThrow(float key)
- Specified by:
getOrThrowin interfaceFloatByteMap
-
containsKey
public boolean containsKey(float key)
- Specified by:
containsKeyin interfaceFloatByteMap
-
containsValue
public boolean containsValue(byte value)
- Specified by:
containsValuein interfaceByteValuesMap
-
forEachValue
public void forEachValue(ByteProcedure procedure)
- Specified by:
forEachValuein interfaceByteValuesMap
-
forEachKey
public void forEachKey(FloatProcedure procedure)
- Specified by:
forEachKeyin interfaceFloatByteMap
-
forEachKeyValue
public void forEachKeyValue(FloatByteProcedure procedure)
- Specified by:
forEachKeyValuein interfaceFloatByteMap
-
keysView
public LazyFloatIterable keysView()
- Specified by:
keysViewin interfaceFloatByteMap
-
keyValuesView
public RichIterable<FloatBytePair> keyValuesView()
- Specified by:
keyValuesViewin interfaceFloatByteMap
-
flipUniqueValues
public MutableByteFloatMap flipUniqueValues()
- Specified by:
flipUniqueValuesin interfaceFloatByteMap- Specified by:
flipUniqueValuesin interfaceMutableFloatByteMap
-
select
public MutableFloatByteMap select(FloatBytePredicate predicate)
- Specified by:
selectin interfaceFloatByteMap- Specified by:
selectin interfaceMutableFloatByteMap
-
reject
public MutableFloatByteMap reject(FloatBytePredicate predicate)
- Specified by:
rejectin interfaceFloatByteMap- Specified by:
rejectin interfaceMutableFloatByteMap
-
byteIterator
public MutableByteIterator byteIterator()
- Specified by:
byteIteratorin interfaceByteIterable- Specified by:
byteIteratorin interfaceMutableByteValuesMap
-
each
public void each(ByteProcedure procedure)
- Specified by:
eachin interfaceByteIterable- Since:
- 7.0.
-
count
public int count(BytePredicate predicate)
- Specified by:
countin interfaceByteIterable
-
anySatisfy
public boolean anySatisfy(BytePredicate predicate)
- Specified by:
anySatisfyin interfaceByteIterable
-
allSatisfy
public boolean allSatisfy(BytePredicate predicate)
- Specified by:
allSatisfyin interfaceByteIterable
-
noneSatisfy
public boolean noneSatisfy(BytePredicate predicate)
- Specified by:
noneSatisfyin interfaceByteIterable
-
select
public MutableByteBag select(BytePredicate predicate)
- Specified by:
selectin interfaceByteIterable- Specified by:
selectin interfaceByteValuesMap- Specified by:
selectin interfaceMutableByteValuesMap
-
reject
public MutableByteBag reject(BytePredicate predicate)
- Specified by:
rejectin interfaceByteIterable- Specified by:
rejectin interfaceByteValuesMap- Specified by:
rejectin interfaceMutableByteValuesMap
-
collect
public <V> MutableBag<V> collect(ByteToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceByteIterable- Specified by:
collectin interfaceByteValuesMap- Specified by:
collectin interfaceMutableByteValuesMap
-
detectIfNone
public byte detectIfNone(BytePredicate predicate, byte ifNone)
- Specified by:
detectIfNonein interfaceByteIterable
-
sum
public long sum()
- Specified by:
sumin interfaceByteIterable
-
max
public byte max()
- Specified by:
maxin interfaceByteIterable
-
maxIfEmpty
public byte maxIfEmpty(byte defaultValue)
- Specified by:
maxIfEmptyin interfaceByteIterable
-
min
public byte min()
- Specified by:
minin interfaceByteIterable
-
minIfEmpty
public byte minIfEmpty(byte defaultValue)
- Specified by:
minIfEmptyin interfaceByteIterable
-
average
public double average()
- Specified by:
averagein interfaceByteIterable
-
median
public double median()
- Specified by:
medianin interfaceByteIterable
-
addToValue
public byte addToValue(float key, byte toBeAdded)- Specified by:
addToValuein interfaceMutableFloatByteMap
-
toSortedArray
public byte[] toSortedArray()
- Specified by:
toSortedArrayin interfaceByteIterable
-
toSortedList
public MutableByteList toSortedList()
- Specified by:
toSortedListin interfaceByteIterable
-
toArray
public byte[] toArray()
- Specified by:
toArrayin interfaceByteIterable
-
toArray
public byte[] toArray(byte[] target)
- Specified by:
toArrayin interfaceByteIterable
-
contains
public boolean contains(byte value)
- Specified by:
containsin interfaceByteIterable
-
containsAll
public boolean containsAll(byte... source)
- Specified by:
containsAllin interfaceByteIterable
-
containsAll
public boolean containsAll(ByteIterable source)
- Specified by:
containsAllin interfaceByteIterable
-
toList
public MutableByteList toList()
- Specified by:
toListin interfaceByteIterable
-
toSet
public MutableByteSet toSet()
- Specified by:
toSetin interfaceByteIterable
-
toBag
public MutableByteBag toBag()
- Specified by:
toBagin interfaceByteIterable
-
asLazy
public LazyByteIterable asLazy()
- Specified by:
asLazyin interfaceByteIterable
-
withKeyValue
public MutableFloatByteMap withKeyValue(float key, byte value)
- Specified by:
withKeyValuein interfaceMutableFloatByteMap
-
withoutKey
public MutableFloatByteMap withoutKey(float key)
- Specified by:
withoutKeyin interfaceMutableFloatByteMap
-
withoutAllKeys
public MutableFloatByteMap withoutAllKeys(FloatIterable keys)
- Specified by:
withoutAllKeysin interfaceMutableFloatByteMap
-
asUnmodifiable
public MutableFloatByteMap asUnmodifiable()
- Specified by:
asUnmodifiablein interfaceMutableFloatByteMap
-
asSynchronized
public MutableFloatByteMap asSynchronized()
- Specified by:
asSynchronizedin interfaceMutableFloatByteMap
-
toImmutable
public ImmutableFloatByteMap toImmutable()
- Specified by:
toImmutablein interfaceFloatByteMap
-
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 interfaceFloatByteMap
-
values
public MutableByteCollection values()
- Specified by:
valuesin interfaceByteValuesMap
-
equals
public boolean equals(Object otherMap)
- Specified by:
equalsin interfaceFloatByteMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceFloatByteMap- Overrides:
hashCodein classObject
-
toString
public String toString()
- Specified by:
toStringin interfaceFloatByteMap- 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, ObjectByteToObjectFunction<? super T,? extends T> function)- Specified by:
injectIntoin interfaceByteIterable
-
chunk
public RichIterable<ByteIterable> chunk(int size)
- Specified by:
chunkin interfaceByteIterable
-
-