Class UnmodifiableLongBooleanMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableLongBooleanMap
- All Implemented Interfaces:
Serializable,BooleanIterable,BooleanValuesMap,LongBooleanMap,MutableBooleanValuesMap,MutableLongBooleanMap,PrimitiveIterable
public class UnmodifiableLongBooleanMap
extends Object
implements MutableLongBooleanMap, Serializable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(BooleanPredicate predicate) booleananySatisfy(BooleanPredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()chunk(int size) voidclear()<V> MutableBag<V>collect(BooleanToObjectFunction<? extends V> function) booleancontains(boolean value) booleancontainsAll(boolean... source) booleancontainsAll(BooleanIterable source) booleancontainsKey(long key) booleancontainsValue(boolean value) intcount(BooleanPredicate predicate) booleandetectIfNone(BooleanPredicate predicate, boolean ifNone) voideach(BooleanProcedure procedure) booleanvoidforEachKey(LongProcedure procedure) voidforEachKeyValue(LongBooleanProcedure procedure) voidforEachValue(BooleanProcedure procedure) booleanget(long key) booleangetAndPut(long key, boolean putValue, boolean defaultValue) booleangetIfAbsent(long key, boolean ifAbsent) booleangetIfAbsentPut(long key, boolean value) booleangetIfAbsentPut(long key, BooleanFunction0 function) <P> booleangetIfAbsentPutWith(long key, BooleanFunction<? super P> function, P parameter) booleangetIfAbsentPutWithKey(long key, LongToBooleanFunction function) booleangetOrThrow(long key) inthashCode()<T> TinjectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T, ? extends T> function) booleanisEmpty()keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) booleannoneSatisfy(BooleanPredicate predicate) booleannotEmpty()voidput(long key, boolean value) voidputAll(LongBooleanMap map) voidputPair(LongBooleanPair keyValuePair) reject(BooleanPredicate predicate) reject(LongBooleanPredicate predicate) voidremove(long key) voidremoveKey(long key) booleanremoveKeyIfAbsent(long key, boolean value) select(BooleanPredicate predicate) select(LongBooleanPredicate predicate) intsize()boolean[]toArray()boolean[]toArray(boolean[] target) toBag()toList()toSet()toString()booleanupdateValue(long key, boolean initialValueIfAbsent, BooleanToBooleanFunction function) voidupdateValues(LongBooleanToBooleanFunction function) values()withKeyValue(long key, boolean value) withoutAllKeys(LongIterable keys) withoutKey(long key) 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, selectMethods inherited from interface org.eclipse.collections.api.map.primitive.BooleanValuesMap
tapMethods inherited from interface org.eclipse.collections.api.map.primitive.LongBooleanMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableLongBooleanMap
withAllKeyValues
-
Constructor Details
-
UnmodifiableLongBooleanMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableBooleanValuesMap
-
put
public void put(long key, boolean value) - Specified by:
putin interfaceMutableLongBooleanMap
-
putPair
- Specified by:
putPairin interfaceMutableLongBooleanMap
-
putAll
- Specified by:
putAllin interfaceMutableLongBooleanMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableLongBooleanMap
-
removeKey
public void removeKey(long key) - Specified by:
removeKeyin interfaceMutableLongBooleanMap
-
remove
public void remove(long key) - Specified by:
removein interfaceMutableLongBooleanMap
-
removeKeyIfAbsent
public boolean removeKeyIfAbsent(long key, boolean value) - Specified by:
removeKeyIfAbsentin interfaceMutableLongBooleanMap
-
getIfAbsentPut
public boolean getIfAbsentPut(long key, boolean value) - Specified by:
getIfAbsentPutin interfaceMutableLongBooleanMap
-
getAndPut
public boolean getAndPut(long key, boolean putValue, boolean defaultValue) - Specified by:
getAndPutin interfaceMutableLongBooleanMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableLongBooleanMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableLongBooleanMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableLongBooleanMap
-
updateValue
public boolean updateValue(long key, boolean initialValueIfAbsent, BooleanToBooleanFunction function) - Specified by:
updateValuein interfaceMutableLongBooleanMap
-
get
public boolean get(long key) - Specified by:
getin interfaceLongBooleanMap
-
getIfAbsent
public boolean getIfAbsent(long key, boolean ifAbsent) - Specified by:
getIfAbsentin interfaceLongBooleanMap
-
getOrThrow
public boolean getOrThrow(long key) - Specified by:
getOrThrowin interfaceLongBooleanMap
-
containsKey
public boolean containsKey(long key) - Specified by:
containsKeyin interfaceLongBooleanMap
-
containsValue
public boolean containsValue(boolean value) - Specified by:
containsValuein interfaceBooleanValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceBooleanValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceLongBooleanMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceLongBooleanMap
-
keysView
- Specified by:
keysViewin interfaceLongBooleanMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceLongBooleanMap
-
select
- Specified by:
selectin interfaceLongBooleanMap- Specified by:
selectin interfaceMutableLongBooleanMap
-
reject
- Specified by:
rejectin interfaceLongBooleanMap- Specified by:
rejectin interfaceMutableLongBooleanMap
-
booleanIterator
- Specified by:
booleanIteratorin interfaceBooleanIterable- Specified by:
booleanIteratorin interfaceMutableBooleanValuesMap
-
each
- Specified by:
eachin interfaceBooleanIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceBooleanIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceBooleanIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceBooleanIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceBooleanIterable
-
select
- Specified by:
selectin interfaceBooleanIterable- Specified by:
selectin interfaceBooleanValuesMap- Specified by:
selectin interfaceMutableBooleanValuesMap
-
reject
- Specified by:
rejectin interfaceBooleanIterable- Specified by:
rejectin interfaceBooleanValuesMap- Specified by:
rejectin interfaceMutableBooleanValuesMap
-
collect
- Specified by:
collectin interfaceBooleanIterable- Specified by:
collectin interfaceBooleanValuesMap- Specified by:
collectin interfaceMutableBooleanValuesMap
-
detectIfNone
- Specified by:
detectIfNonein interfaceBooleanIterable
-
toArray
public boolean[] toArray()- Specified by:
toArrayin interfaceBooleanIterable
-
toArray
public boolean[] toArray(boolean[] target) - Specified by:
toArrayin interfaceBooleanIterable
-
contains
public boolean contains(boolean value) - Specified by:
containsin interfaceBooleanIterable
-
containsAll
public boolean containsAll(boolean... source) - Specified by:
containsAllin interfaceBooleanIterable
-
containsAll
- Specified by:
containsAllin interfaceBooleanIterable
-
toList
- Specified by:
toListin interfaceBooleanIterable
-
toSet
- Specified by:
toSetin interfaceBooleanIterable
-
toBag
- Specified by:
toBagin interfaceBooleanIterable
-
asLazy
- Specified by:
asLazyin interfaceBooleanIterable
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableLongBooleanMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableLongBooleanMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableLongBooleanMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableLongBooleanMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableLongBooleanMap
-
toImmutable
- Specified by:
toImmutablein interfaceLongBooleanMap
-
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
- Specified by:
keySetin interfaceLongBooleanMap
-
values
- Specified by:
valuesin interfaceBooleanValuesMap
-
equals
- Specified by:
equalsin interfaceLongBooleanMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceLongBooleanMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceLongBooleanMap- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceBooleanIterable
-
chunk
- Specified by:
chunkin interfaceBooleanIterable
-