Class UnmodifiableByteBooleanMap
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableByteBooleanMap
-
- All Implemented Interfaces:
Serializable,BooleanIterable,BooleanValuesMap,ByteBooleanMap,MutableBooleanValuesMap,MutableByteBooleanMap,PrimitiveIterable
public class UnmodifiableByteBooleanMap extends Object implements MutableByteBooleanMap, Serializable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.- Since:
- 3.1.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableByteBooleanMap(MutableByteBooleanMap 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.ByteBooleanMap
injectIntoKeyValue
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMap
withAllKeyValues
-
-
-
-
Constructor Detail
-
UnmodifiableByteBooleanMap
public UnmodifiableByteBooleanMap(MutableByteBooleanMap map)
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clearin interfaceMutableBooleanValuesMap
-
put
public void put(byte key, boolean value)- Specified by:
putin interfaceMutableByteBooleanMap
-
putPair
public void putPair(ByteBooleanPair keyValuePair)
- Specified by:
putPairin interfaceMutableByteBooleanMap
-
putAll
public void putAll(ByteBooleanMap map)
- Specified by:
putAllin interfaceMutableByteBooleanMap
-
updateValues
public void updateValues(ByteBooleanToBooleanFunction function)
- Specified by:
updateValuesin interfaceMutableByteBooleanMap
-
removeKey
public void removeKey(byte key)
- Specified by:
removeKeyin interfaceMutableByteBooleanMap
-
remove
public void remove(byte key)
- Specified by:
removein interfaceMutableByteBooleanMap
-
removeKeyIfAbsent
public boolean removeKeyIfAbsent(byte key, boolean value)- Specified by:
removeKeyIfAbsentin interfaceMutableByteBooleanMap
-
getIfAbsentPut
public boolean getIfAbsentPut(byte key, boolean value)- Specified by:
getIfAbsentPutin interfaceMutableByteBooleanMap
-
getAndPut
public boolean getAndPut(byte key, boolean putValue, boolean defaultValue)- Specified by:
getAndPutin interfaceMutableByteBooleanMap
-
getIfAbsentPut
public boolean getIfAbsentPut(byte key, BooleanFunction0 function)- Specified by:
getIfAbsentPutin interfaceMutableByteBooleanMap
-
getIfAbsentPutWithKey
public boolean getIfAbsentPutWithKey(byte key, ByteToBooleanFunction function)- Specified by:
getIfAbsentPutWithKeyin interfaceMutableByteBooleanMap
-
getIfAbsentPutWith
public <P> boolean getIfAbsentPutWith(byte key, BooleanFunction<? super P> function, P parameter)- Specified by:
getIfAbsentPutWithin interfaceMutableByteBooleanMap
-
updateValue
public boolean updateValue(byte key, boolean initialValueIfAbsent, BooleanToBooleanFunction function)- Specified by:
updateValuein interfaceMutableByteBooleanMap
-
get
public boolean get(byte key)
- Specified by:
getin interfaceByteBooleanMap
-
getIfAbsent
public boolean getIfAbsent(byte key, boolean ifAbsent)- Specified by:
getIfAbsentin interfaceByteBooleanMap
-
getOrThrow
public boolean getOrThrow(byte key)
- Specified by:
getOrThrowin interfaceByteBooleanMap
-
containsKey
public boolean containsKey(byte key)
- Specified by:
containsKeyin interfaceByteBooleanMap
-
containsValue
public boolean containsValue(boolean value)
- Specified by:
containsValuein interfaceBooleanValuesMap
-
forEachValue
public void forEachValue(BooleanProcedure procedure)
- Specified by:
forEachValuein interfaceBooleanValuesMap
-
forEachKey
public void forEachKey(ByteProcedure procedure)
- Specified by:
forEachKeyin interfaceByteBooleanMap
-
forEachKeyValue
public void forEachKeyValue(ByteBooleanProcedure procedure)
- Specified by:
forEachKeyValuein interfaceByteBooleanMap
-
keysView
public LazyByteIterable keysView()
- Specified by:
keysViewin interfaceByteBooleanMap
-
keyValuesView
public RichIterable<ByteBooleanPair> keyValuesView()
- Specified by:
keyValuesViewin interfaceByteBooleanMap
-
select
public MutableByteBooleanMap select(ByteBooleanPredicate predicate)
- Specified by:
selectin interfaceByteBooleanMap- Specified by:
selectin interfaceMutableByteBooleanMap
-
reject
public MutableByteBooleanMap reject(ByteBooleanPredicate predicate)
- Specified by:
rejectin interfaceByteBooleanMap- Specified by:
rejectin interfaceMutableByteBooleanMap
-
booleanIterator
public MutableBooleanIterator booleanIterator()
- Specified by:
booleanIteratorin interfaceBooleanIterable- Specified by:
booleanIteratorin interfaceMutableBooleanValuesMap
-
each
public void each(BooleanProcedure procedure)
- Specified by:
eachin interfaceBooleanIterable- Since:
- 7.0.
-
count
public int count(BooleanPredicate predicate)
- Specified by:
countin interfaceBooleanIterable
-
anySatisfy
public boolean anySatisfy(BooleanPredicate predicate)
- Specified by:
anySatisfyin interfaceBooleanIterable
-
allSatisfy
public boolean allSatisfy(BooleanPredicate predicate)
- Specified by:
allSatisfyin interfaceBooleanIterable
-
noneSatisfy
public boolean noneSatisfy(BooleanPredicate predicate)
- Specified by:
noneSatisfyin interfaceBooleanIterable
-
select
public MutableBooleanBag select(BooleanPredicate predicate)
- Specified by:
selectin interfaceBooleanIterable- Specified by:
selectin interfaceBooleanValuesMap- Specified by:
selectin interfaceMutableBooleanValuesMap
-
reject
public MutableBooleanBag reject(BooleanPredicate predicate)
- Specified by:
rejectin interfaceBooleanIterable- Specified by:
rejectin interfaceBooleanValuesMap- Specified by:
rejectin interfaceMutableBooleanValuesMap
-
collect
public <V> MutableBag<V> collect(BooleanToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceBooleanIterable- Specified by:
collectin interfaceBooleanValuesMap- Specified by:
collectin interfaceMutableBooleanValuesMap
-
detectIfNone
public boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)
- 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
public boolean containsAll(BooleanIterable source)
- Specified by:
containsAllin interfaceBooleanIterable
-
toList
public MutableBooleanList toList()
- Specified by:
toListin interfaceBooleanIterable
-
toSet
public MutableBooleanSet toSet()
- Specified by:
toSetin interfaceBooleanIterable
-
toBag
public MutableBooleanBag toBag()
- Specified by:
toBagin interfaceBooleanIterable
-
asLazy
public LazyBooleanIterable asLazy()
- Specified by:
asLazyin interfaceBooleanIterable
-
withKeyValue
public MutableByteBooleanMap withKeyValue(byte key, boolean value)
- Specified by:
withKeyValuein interfaceMutableByteBooleanMap
-
withoutKey
public MutableByteBooleanMap withoutKey(byte key)
- Specified by:
withoutKeyin interfaceMutableByteBooleanMap
-
withoutAllKeys
public MutableByteBooleanMap withoutAllKeys(ByteIterable keys)
- Specified by:
withoutAllKeysin interfaceMutableByteBooleanMap
-
asUnmodifiable
public MutableByteBooleanMap asUnmodifiable()
- Specified by:
asUnmodifiablein interfaceMutableByteBooleanMap
-
asSynchronized
public MutableByteBooleanMap asSynchronized()
- Specified by:
asSynchronizedin interfaceMutableByteBooleanMap
-
toImmutable
public ImmutableByteBooleanMap toImmutable()
- Specified by:
toImmutablein interfaceByteBooleanMap
-
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 MutableByteSet keySet()
- Specified by:
keySetin interfaceByteBooleanMap
-
values
public MutableBooleanCollection values()
- Specified by:
valuesin interfaceBooleanValuesMap
-
equals
public boolean equals(Object otherMap)
- Specified by:
equalsin interfaceByteBooleanMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceByteBooleanMap- Overrides:
hashCodein classObject
-
toString
public String toString()
- Specified by:
toStringin interfaceByteBooleanMap- 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, ObjectBooleanToObjectFunction<? super T,? extends T> function)- Specified by:
injectIntoin interfaceBooleanIterable
-
chunk
public RichIterable<BooleanIterable> chunk(int size)
- Specified by:
chunkin interfaceBooleanIterable
-
-