public abstract class AbstractMutableBooleanValuesMap extends AbstractBooleanIterable implements MutableBooleanValuesMap
Constructor and Description |
---|
AbstractMutableBooleanValuesMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
allSatisfy(BooleanPredicate predicate) |
boolean |
anySatisfy(BooleanPredicate predicate) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end)
Prints a string representation of this collection onto the given
Appendable . |
<V> MutableBag<V> |
collect(BooleanToObjectFunction<? extends V> function) |
boolean |
contains(boolean value) |
boolean |
containsAll(BooleanIterable source) |
int |
count(BooleanPredicate predicate) |
boolean |
detectIfNone(BooleanPredicate predicate,
boolean value) |
void |
each(BooleanProcedure procedure) |
void |
forEach(BooleanProcedure procedure) |
void |
forEachValue(BooleanProcedure procedure) |
<V> V |
injectInto(V injectedValue,
ObjectBooleanToObjectFunction<? super V,? extends V> function) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
boolean |
noneSatisfy(BooleanPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
MutableBooleanBag |
reject(BooleanPredicate predicate) |
MutableBooleanBag |
select(BooleanPredicate predicate) |
int |
size()
Returns the number of items in this iterable.
|
boolean[] |
toArray() |
asLazy, containsAll, toBag, toList, toSet, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
booleanIterator, clear
containsValue, values
asLazy, containsAll, toBag, toList, toSet
appendString, appendString, makeString, makeString, makeString, toString
public boolean contains(boolean value)
contains
in interface BooleanIterable
public boolean containsAll(BooleanIterable source)
containsAll
in interface BooleanIterable
containsAll
in class AbstractBooleanIterable
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
public void forEach(BooleanProcedure procedure)
forEach
in interface BooleanIterable
public void each(BooleanProcedure procedure)
each
in interface BooleanIterable
public void forEachValue(BooleanProcedure procedure)
forEachValue
in interface BooleanValuesMap
public <V> V injectInto(V injectedValue, ObjectBooleanToObjectFunction<? super V,? extends V> function)
injectInto
in interface BooleanIterable
public void appendString(Appendable appendable, String start, String separator, String end)
PrimitiveIterable
Appendable
. Prints the string returned
by PrimitiveIterable.makeString(String, String, String)
.appendString
in interface PrimitiveIterable
public MutableBooleanBag select(BooleanPredicate predicate)
select
in interface BooleanIterable
select
in interface BooleanValuesMap
select
in interface MutableBooleanValuesMap
public MutableBooleanBag reject(BooleanPredicate predicate)
reject
in interface BooleanIterable
reject
in interface BooleanValuesMap
reject
in interface MutableBooleanValuesMap
public <V> MutableBag<V> collect(BooleanToObjectFunction<? extends V> function)
collect
in interface BooleanIterable
collect
in interface BooleanValuesMap
collect
in interface MutableBooleanValuesMap
public boolean detectIfNone(BooleanPredicate predicate, boolean value)
detectIfNone
in interface BooleanIterable
public int count(BooleanPredicate predicate)
count
in interface BooleanIterable
public boolean anySatisfy(BooleanPredicate predicate)
anySatisfy
in interface BooleanIterable
public boolean allSatisfy(BooleanPredicate predicate)
allSatisfy
in interface BooleanIterable
public boolean noneSatisfy(BooleanPredicate predicate)
noneSatisfy
in interface BooleanIterable
public boolean[] toArray()
toArray
in interface BooleanIterable
Copyright © 2004–2016. All rights reserved.