Class UnmodifiableFloatBooleanMap
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableFloatBooleanMap
-
- All Implemented Interfaces:
Serializable
,BooleanIterable
,BooleanValuesMap
,FloatBooleanMap
,MutableBooleanValuesMap
,MutableFloatBooleanMap
,PrimitiveIterable
public class UnmodifiableFloatBooleanMap extends Object implements MutableFloatBooleanMap, Serializable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.- Since:
- 3.1.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableFloatBooleanMap(MutableFloatBooleanMap map)
-
Method Summary
-
Methods inherited from interface org.eclipse.collections.api.BooleanIterable
collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, reduce, reduceIfEmpty, reject, select
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.BooleanValuesMap
tap
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.FloatBooleanMap
injectIntoKeyValue
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMap
withAllKeyValues
-
-
-
-
Constructor Detail
-
UnmodifiableFloatBooleanMap
public UnmodifiableFloatBooleanMap(MutableFloatBooleanMap map)
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clear
in interfaceMutableBooleanValuesMap
-
put
public void put(float key, boolean value)
- Specified by:
put
in interfaceMutableFloatBooleanMap
-
putPair
public void putPair(FloatBooleanPair keyValuePair)
- Specified by:
putPair
in interfaceMutableFloatBooleanMap
-
putAll
public void putAll(FloatBooleanMap map)
- Specified by:
putAll
in interfaceMutableFloatBooleanMap
-
updateValues
public void updateValues(FloatBooleanToBooleanFunction function)
- Specified by:
updateValues
in interfaceMutableFloatBooleanMap
-
removeKey
public void removeKey(float key)
- Specified by:
removeKey
in interfaceMutableFloatBooleanMap
-
remove
public void remove(float key)
- Specified by:
remove
in interfaceMutableFloatBooleanMap
-
removeKeyIfAbsent
public boolean removeKeyIfAbsent(float key, boolean value)
- Specified by:
removeKeyIfAbsent
in interfaceMutableFloatBooleanMap
-
getIfAbsentPut
public boolean getIfAbsentPut(float key, boolean value)
- Specified by:
getIfAbsentPut
in interfaceMutableFloatBooleanMap
-
getAndPut
public boolean getAndPut(float key, boolean putValue, boolean defaultValue)
- Specified by:
getAndPut
in interfaceMutableFloatBooleanMap
-
getIfAbsentPut
public boolean getIfAbsentPut(float key, BooleanFunction0 function)
- Specified by:
getIfAbsentPut
in interfaceMutableFloatBooleanMap
-
getIfAbsentPutWithKey
public boolean getIfAbsentPutWithKey(float key, FloatToBooleanFunction function)
- Specified by:
getIfAbsentPutWithKey
in interfaceMutableFloatBooleanMap
-
getIfAbsentPutWith
public <P> boolean getIfAbsentPutWith(float key, BooleanFunction<? super P> function, P parameter)
- Specified by:
getIfAbsentPutWith
in interfaceMutableFloatBooleanMap
-
updateValue
public boolean updateValue(float key, boolean initialValueIfAbsent, BooleanToBooleanFunction function)
- Specified by:
updateValue
in interfaceMutableFloatBooleanMap
-
get
public boolean get(float key)
- Specified by:
get
in interfaceFloatBooleanMap
-
getIfAbsent
public boolean getIfAbsent(float key, boolean ifAbsent)
- Specified by:
getIfAbsent
in interfaceFloatBooleanMap
-
getOrThrow
public boolean getOrThrow(float key)
- Specified by:
getOrThrow
in interfaceFloatBooleanMap
-
containsKey
public boolean containsKey(float key)
- Specified by:
containsKey
in interfaceFloatBooleanMap
-
containsValue
public boolean containsValue(boolean value)
- Specified by:
containsValue
in interfaceBooleanValuesMap
-
forEachValue
public void forEachValue(BooleanProcedure procedure)
- Specified by:
forEachValue
in interfaceBooleanValuesMap
-
forEachKey
public void forEachKey(FloatProcedure procedure)
- Specified by:
forEachKey
in interfaceFloatBooleanMap
-
forEachKeyValue
public void forEachKeyValue(FloatBooleanProcedure procedure)
- Specified by:
forEachKeyValue
in interfaceFloatBooleanMap
-
keysView
public LazyFloatIterable keysView()
- Specified by:
keysView
in interfaceFloatBooleanMap
-
keyValuesView
public RichIterable<FloatBooleanPair> keyValuesView()
- Specified by:
keyValuesView
in interfaceFloatBooleanMap
-
select
public MutableFloatBooleanMap select(FloatBooleanPredicate predicate)
- Specified by:
select
in interfaceFloatBooleanMap
- Specified by:
select
in interfaceMutableFloatBooleanMap
-
reject
public MutableFloatBooleanMap reject(FloatBooleanPredicate predicate)
- Specified by:
reject
in interfaceFloatBooleanMap
- Specified by:
reject
in interfaceMutableFloatBooleanMap
-
booleanIterator
public MutableBooleanIterator booleanIterator()
- Specified by:
booleanIterator
in interfaceBooleanIterable
- Specified by:
booleanIterator
in interfaceMutableBooleanValuesMap
-
each
public void each(BooleanProcedure procedure)
- Specified by:
each
in interfaceBooleanIterable
- Since:
- 7.0.
-
count
public int count(BooleanPredicate predicate)
- Specified by:
count
in interfaceBooleanIterable
-
anySatisfy
public boolean anySatisfy(BooleanPredicate predicate)
- Specified by:
anySatisfy
in interfaceBooleanIterable
-
allSatisfy
public boolean allSatisfy(BooleanPredicate predicate)
- Specified by:
allSatisfy
in interfaceBooleanIterable
-
noneSatisfy
public boolean noneSatisfy(BooleanPredicate predicate)
- Specified by:
noneSatisfy
in interfaceBooleanIterable
-
select
public MutableBooleanBag select(BooleanPredicate predicate)
- Specified by:
select
in interfaceBooleanIterable
- Specified by:
select
in interfaceBooleanValuesMap
- Specified by:
select
in interfaceMutableBooleanValuesMap
-
reject
public MutableBooleanBag reject(BooleanPredicate predicate)
- Specified by:
reject
in interfaceBooleanIterable
- Specified by:
reject
in interfaceBooleanValuesMap
- Specified by:
reject
in interfaceMutableBooleanValuesMap
-
collect
public <V> MutableBag<V> collect(BooleanToObjectFunction<? extends V> function)
- Specified by:
collect
in interfaceBooleanIterable
- Specified by:
collect
in interfaceBooleanValuesMap
- Specified by:
collect
in interfaceMutableBooleanValuesMap
-
detectIfNone
public boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)
- Specified by:
detectIfNone
in interfaceBooleanIterable
-
toArray
public boolean[] toArray()
- Specified by:
toArray
in interfaceBooleanIterable
-
toArray
public boolean[] toArray(boolean[] target)
- Specified by:
toArray
in interfaceBooleanIterable
-
contains
public boolean contains(boolean value)
- Specified by:
contains
in interfaceBooleanIterable
-
containsAll
public boolean containsAll(boolean... source)
- Specified by:
containsAll
in interfaceBooleanIterable
-
containsAll
public boolean containsAll(BooleanIterable source)
- Specified by:
containsAll
in interfaceBooleanIterable
-
toList
public MutableBooleanList toList()
- Specified by:
toList
in interfaceBooleanIterable
-
toSet
public MutableBooleanSet toSet()
- Specified by:
toSet
in interfaceBooleanIterable
-
toBag
public MutableBooleanBag toBag()
- Specified by:
toBag
in interfaceBooleanIterable
-
asLazy
public LazyBooleanIterable asLazy()
- Specified by:
asLazy
in interfaceBooleanIterable
-
withKeyValue
public MutableFloatBooleanMap withKeyValue(float key, boolean value)
- Specified by:
withKeyValue
in interfaceMutableFloatBooleanMap
-
withoutKey
public MutableFloatBooleanMap withoutKey(float key)
- Specified by:
withoutKey
in interfaceMutableFloatBooleanMap
-
withoutAllKeys
public MutableFloatBooleanMap withoutAllKeys(FloatIterable keys)
- Specified by:
withoutAllKeys
in interfaceMutableFloatBooleanMap
-
asUnmodifiable
public MutableFloatBooleanMap asUnmodifiable()
- Specified by:
asUnmodifiable
in interfaceMutableFloatBooleanMap
-
asSynchronized
public MutableFloatBooleanMap asSynchronized()
- Specified by:
asSynchronized
in interfaceMutableFloatBooleanMap
-
toImmutable
public ImmutableFloatBooleanMap toImmutable()
- Specified by:
toImmutable
in interfaceFloatBooleanMap
-
size
public int size()
- Specified by:
size
in interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmpty
in interfacePrimitiveIterable
-
keySet
public MutableFloatSet keySet()
- Specified by:
keySet
in interfaceFloatBooleanMap
-
values
public MutableBooleanCollection values()
- Specified by:
values
in interfaceBooleanValuesMap
-
equals
public boolean equals(Object otherMap)
- Specified by:
equals
in interfaceFloatBooleanMap
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceFloatBooleanMap
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Specified by:
toString
in interfaceFloatBooleanMap
- Specified by:
toString
in interfacePrimitiveIterable
- Overrides:
toString
in classObject
-
makeString
public String makeString()
- Specified by:
makeString
in interfacePrimitiveIterable
-
makeString
public String makeString(String separator)
- Specified by:
makeString
in interfacePrimitiveIterable
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeString
in interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendString
in interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendString
in interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendString
in interfacePrimitiveIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T,? extends T> function)
- Specified by:
injectInto
in interfaceBooleanIterable
-
chunk
public RichIterable<BooleanIterable> chunk(int size)
- Specified by:
chunk
in interfaceBooleanIterable
-
-