Top Inners Constructors Methods
org.eclipse.collections.impl.map.mutable.primitive

public abstract Class AbstractMutableBooleanValuesMap

extends AbstractBooleanIterable
implements MutableBooleanValuesMap
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.map.primitive.MutableBooleanValuesMap, org.eclipse.collections.api.map.primitive.BooleanValuesMap, org.eclipse.collections.api.BooleanIterable, org.eclipse.collections.api.PrimitiveIterable
Known Direct Subclasses
org.eclipse.collections.impl.map.mutable.primitive.ByteBooleanHashMap, org.eclipse.collections.impl.map.mutable.primitive.IntBooleanHashMap, org.eclipse.collections.impl.map.mutable.primitive.ShortBooleanHashMap, org.eclipse.collections.impl.map.mutable.primitive.CharBooleanHashMap, org.eclipse.collections.impl.map.mutable.primitive.DoubleBooleanHashMap, org.eclipse.collections.impl.map.mutable.primitive.LongBooleanHashMap, org.eclipse.collections.impl.map.mutable.primitive.FloatBooleanHashMap
Imports
java.io.IOException, org.eclipse.collections.api.BooleanIterable, .LazyBooleanIterable, .RichIterable, org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableBooleanBag, org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction, .ObjectBooleanToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate, org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure, org.eclipse.collections.api.collection.MutableCollection, org.eclipse.collections.api.collection.primitive.ImmutableBooleanCollection, .MutableBooleanCollection, org.eclipse.collections.api.factory.Bags, .Lists, org.eclipse.collections.api.factory.primitive.BooleanBags, .BooleanLists, org.eclipse.collections.api.iterator.BooleanIterator, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.list.primitive.MutableBooleanList, org.eclipse.collections.api.map.primitive.MutableBooleanValuesMap, org.eclipse.collections.api.set.primitive.MutableBooleanSet, org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedBooleanCollection, .UnmodifiableBooleanCollection, org.eclipse.collections.impl.lazy.primitive.LazyBooleanIterableAdapter, org.eclipse.collections.impl.primitive.AbstractBooleanIterable, org.eclipse.collections.impl.set.mutable.primitive.BooleanHashSet

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected abstract class
protected static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
addEmptyKeyValue(boolean value)

protected void
addRemovedKeyValue(boolean value)

public boolean
allSatisfy(BooleanPredicate predicate)

Implements org.eclipse.collections.api.BooleanIterable.allSatisfy.

Returns true if all of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.

public boolean
anySatisfy(BooleanPredicate predicate)

Implements org.eclipse.collections.api.BooleanIterable.anySatisfy.

Returns true if any of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.

public void
appendString(Appendable appendable, String start, String separator, String end)

Implements org.eclipse.collections.api.PrimitiveIterable.appendString.

Prints a string representation of this collection onto the given Appendable.

public RichIterable<BooleanIterable>
chunk(int size)

Overrides default org.eclipse.collections.api.BooleanIterable.chunk.

Partitions elements in fixed size chunks.

public <V> MutableBag<V>
collect(BooleanToObjectFunction<? extends V> function)

Implements org.eclipse.collections.api.map.primitive.MutableBooleanValuesMap.collect, org.eclipse.collections.api.BooleanIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection.

public boolean
contains(boolean value)

Implements org.eclipse.collections.api.BooleanIterable.contains.

Returns true if the value is contained in the BooleanIterable, and false if it is not.

public boolean
containsAll(BooleanIterable source)

Overrides default org.eclipse.collections.api.BooleanIterable.containsAll.

Returns true if all of the values specified in the source BooleanIterable are contained in the BooleanIterable, and false if they are not.

public int
count(BooleanPredicate predicate)

Implements org.eclipse.collections.api.BooleanIterable.count.

Returns a count of the number of elements in the BooleanIterable that return true for the specified predicate.

public boolean
public void
each(BooleanProcedure procedure)

Implements org.eclipse.collections.api.BooleanIterable.each.

A synonym for forEach.

public void
forEach(BooleanProcedure procedure)

Overrides default org.eclipse.collections.api.BooleanIterable.forEach.

Applies the BooleanProcedure to each element in the BooleanIterable.

public void
forEachValue(BooleanProcedure procedure)

Implements org.eclipse.collections.api.map.primitive.BooleanValuesMap.forEachValue.

Iterates through each value in this map.

protected abstract boolean
protected abstract int
protected abstract AbstractMutableBooleanValuesMap.SentinelValues
protected abstract int
protected abstract boolean
getValueAtIndex(int index)

public <V> V
injectInto(V injectedValue, ObjectBooleanToObjectFunction<? super V, ? extends V> function)

Implements org.eclipse.collections.api.BooleanIterable.injectInto.

public boolean
isEmpty()

Overrides default org.eclipse.collections.api.PrimitiveIterable.isEmpty.

Returns true if this iterable has zero items.

protected abstract boolean
public boolean
noneSatisfy(BooleanPredicate predicate)

Overrides default org.eclipse.collections.api.BooleanIterable.noneSatisfy.

Returns true if none of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.

public boolean
notEmpty()

Overrides default org.eclipse.collections.api.PrimitiveIterable.notEmpty.

The English equivalent of !this.isEmpty()

public MutableBooleanBag
reject(BooleanPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableBooleanValuesMap.reject, org.eclipse.collections.api.BooleanIterable.reject.

Returns a new BooleanIterable with all of the elements in the BooleanIterable that return false for the specified predicate.

protected void
protected void
public MutableBooleanBag
select(BooleanPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableBooleanValuesMap.select, org.eclipse.collections.api.BooleanIterable.select.

Returns a new BooleanIterable with all of the elements in the BooleanIterable that return true for the specified predicate.

protected abstract void
public int
size()

Implements org.eclipse.collections.api.PrimitiveIterable.size.

Returns the number of items in this iterable.

public boolean[]
toArray()

Implements org.eclipse.collections.api.BooleanIterable.toArray.

Converts the BooleanIterable to a primitive boolean array.

public boolean[]
toArray(boolean[] array)

Overrides default org.eclipse.collections.api.BooleanIterable.toArray.

Converts the BooleanIterable to a primitive boolean array.

Inherited from org.eclipse.collections.impl.primitive.AbstractBooleanIterable:
asLazytoBagtoListtoSettoString