Class AbstractMutableBooleanValuesMap
java.lang.Object
org.eclipse.collections.impl.primitive.AbstractBooleanIterable
org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableBooleanValuesMap
- All Implemented Interfaces:
BooleanIterable,BooleanValuesMap,MutableBooleanValuesMap,PrimitiveIterable
- Direct Known Subclasses:
ByteBooleanHashMap,CharBooleanHashMap,DoubleBooleanHashMap,FloatBooleanHashMap,IntBooleanHashMap,LongBooleanHashMap,ShortBooleanHashMap
public abstract class AbstractMutableBooleanValuesMap
extends AbstractBooleanIterable
implements MutableBooleanValuesMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(BooleanPredicate predicate) booleananySatisfy(BooleanPredicate predicate) voidappendString(Appendable appendable, String start, String separator, String end) chunk(int size) <V> MutableBag<V>collect(BooleanToObjectFunction<? extends V> function) booleancontains(boolean value) booleancontainsAll(BooleanIterable source) intcount(BooleanPredicate predicate) booleandetectIfNone(BooleanPredicate predicate, boolean value) voideach(BooleanProcedure procedure) voidforEach(BooleanProcedure procedure) voidforEachValue(BooleanProcedure procedure) <V> VinjectInto(V injectedValue, ObjectBooleanToObjectFunction<? super V, ? extends V> function) booleanisEmpty()booleannoneSatisfy(BooleanPredicate predicate) booleannotEmpty()reject(BooleanPredicate predicate) select(BooleanPredicate predicate) intsize()boolean[]toArray()boolean[]toArray(boolean[] array) Methods inherited from class org.eclipse.collections.impl.primitive.AbstractBooleanIterable
asLazy, toBag, toList, toSet, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.BooleanIterable
asLazy, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAll, containsAny, containsAny, containsNone, containsNone, flatCollect, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, reduce, reduceIfEmpty, reject, select, toBag, toList, toSetMethods inherited from interface org.eclipse.collections.api.map.primitive.BooleanValuesMap
containsValue, tap, valuesMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableBooleanValuesMap
booleanIterator, clearMethods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, makeString, makeString, makeString, toString
-
Constructor Details
-
AbstractMutableBooleanValuesMap
public AbstractMutableBooleanValuesMap()
-
-
Method Details
-
contains
public boolean contains(boolean value) - Specified by:
containsin interfaceBooleanIterable
-
containsAll
- Specified by:
containsAllin interfaceBooleanIterable
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable
-
forEach
- Specified by:
forEachin interfaceBooleanIterable
-
each
- Specified by:
eachin interfaceBooleanIterable- Since:
- 7.0.
-
forEachValue
- Specified by:
forEachValuein interfaceBooleanValuesMap
-
injectInto
public <V> V injectInto(V injectedValue, ObjectBooleanToObjectFunction<? super V, ? extends V> function) - Specified by:
injectIntoin interfaceBooleanIterable
-
chunk
- Specified by:
chunkin interfaceBooleanIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
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
-
count
- Specified by:
countin interfaceBooleanIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceBooleanIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceBooleanIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceBooleanIterable
-
toArray
public boolean[] toArray()- Specified by:
toArrayin interfaceBooleanIterable
-
toArray
public boolean[] toArray(boolean[] array) - Specified by:
toArrayin interfaceBooleanIterable
-