public abstract class AbstractMutableBooleanValuesMap extends AbstractBooleanIterable implements com.gs.collections.api.map.primitive.MutableBooleanValuesMap
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractMutableBooleanValuesMap.AbstractBooleanValuesCollection |
protected static class |
AbstractMutableBooleanValuesMap.SentinelValues |
| Constructor and Description |
|---|
AbstractMutableBooleanValuesMap() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEmptyKeyValue(boolean value) |
protected void |
addRemovedKeyValue(boolean value) |
boolean |
allSatisfy(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
anySatisfy(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
void |
appendString(java.lang.Appendable appendable,
java.lang.String start,
java.lang.String separator,
java.lang.String end)
Prints a string representation of this collection onto the given
Appendable. |
<V> com.gs.collections.api.collection.MutableCollection<V> |
collect(com.gs.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function) |
boolean |
contains(boolean value) |
boolean |
containsAll(com.gs.collections.api.BooleanIterable source) |
int |
count(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
detectIfNone(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate,
boolean value) |
void |
each(com.gs.collections.api.block.procedure.primitive.BooleanProcedure procedure) |
void |
forEach(com.gs.collections.api.block.procedure.primitive.BooleanProcedure procedure) |
void |
forEachValue(com.gs.collections.api.block.procedure.primitive.BooleanProcedure procedure) |
protected abstract boolean |
getEmptyValue() |
protected abstract int |
getOccupiedWithData() |
protected abstract AbstractMutableBooleanValuesMap.SentinelValues |
getSentinelValues() |
protected abstract int |
getTableSize() |
protected abstract boolean |
getValueAtIndex(int index) |
<V> V |
injectInto(V injectedValue,
com.gs.collections.api.block.function.primitive.ObjectBooleanToObjectFunction<? super V,? extends V> function) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
protected abstract boolean |
isNonSentinelAtIndex(int index) |
boolean |
noneSatisfy(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
com.gs.collections.api.collection.primitive.MutableBooleanCollection |
reject(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
protected void |
removeEmptyKey() |
protected void |
removeRemovedKey() |
com.gs.collections.api.collection.primitive.MutableBooleanCollection |
select(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
protected abstract void |
setSentinelValuesNull() |
int |
size()
Returns the number of items in this iterable.
|
boolean[] |
toArray() |
appendString, appendString, asLazy, containsAll, makeString, makeString, makeString, toBag, toList, toSet, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbooleanIterator, clearcontainsValue, valuesprotected abstract int getOccupiedWithData()
protected abstract AbstractMutableBooleanValuesMap.SentinelValues getSentinelValues()
protected abstract void setSentinelValuesNull()
protected abstract boolean getEmptyValue()
protected abstract boolean getValueAtIndex(int index)
protected abstract int getTableSize()
protected abstract boolean isNonSentinelAtIndex(int index)
protected void addEmptyKeyValue(boolean value)
protected void removeEmptyKey()
protected void addRemovedKeyValue(boolean value)
protected void removeRemovedKey()
public boolean contains(boolean value)
contains in interface com.gs.collections.api.BooleanIterablepublic boolean containsAll(com.gs.collections.api.BooleanIterable source)
containsAll in interface com.gs.collections.api.BooleanIterablecontainsAll in class AbstractBooleanIterablepublic int size()
com.gs.collections.api.PrimitiveIterablesize in interface com.gs.collections.api.PrimitiveIterablepublic boolean isEmpty()
com.gs.collections.api.PrimitiveIterableisEmpty in interface com.gs.collections.api.PrimitiveIterableisEmpty in class AbstractBooleanIterablepublic boolean notEmpty()
com.gs.collections.api.PrimitiveIterablenotEmpty in interface com.gs.collections.api.PrimitiveIterablenotEmpty in class AbstractBooleanIterablepublic void forEach(com.gs.collections.api.block.procedure.primitive.BooleanProcedure procedure)
forEach in interface com.gs.collections.api.BooleanIterablepublic void each(com.gs.collections.api.block.procedure.primitive.BooleanProcedure procedure)
each in interface com.gs.collections.api.BooleanIterablepublic void forEachValue(com.gs.collections.api.block.procedure.primitive.BooleanProcedure procedure)
forEachValue in interface com.gs.collections.api.map.primitive.BooleanValuesMappublic <V> V injectInto(V injectedValue,
com.gs.collections.api.block.function.primitive.ObjectBooleanToObjectFunction<? super V,? extends V> function)
injectInto in interface com.gs.collections.api.BooleanIterablepublic void appendString(java.lang.Appendable appendable,
java.lang.String start,
java.lang.String separator,
java.lang.String end)
com.gs.collections.api.PrimitiveIterableAppendable. Prints the string returned
by PrimitiveIterable.makeString(String, String, String).appendString in interface com.gs.collections.api.PrimitiveIterablepublic com.gs.collections.api.collection.primitive.MutableBooleanCollection select(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate)
select in interface com.gs.collections.api.BooleanIterableselect in interface com.gs.collections.api.map.primitive.MutableBooleanValuesMappublic com.gs.collections.api.collection.primitive.MutableBooleanCollection reject(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate)
reject in interface com.gs.collections.api.BooleanIterablereject in interface com.gs.collections.api.map.primitive.MutableBooleanValuesMappublic boolean detectIfNone(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate,
boolean value)
detectIfNone in interface com.gs.collections.api.BooleanIterablepublic <V> com.gs.collections.api.collection.MutableCollection<V> collect(com.gs.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.BooleanIterablecollect in interface com.gs.collections.api.map.primitive.MutableBooleanValuesMappublic int count(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate)
count in interface com.gs.collections.api.BooleanIterablepublic boolean anySatisfy(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate)
anySatisfy in interface com.gs.collections.api.BooleanIterablepublic boolean allSatisfy(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate)
allSatisfy in interface com.gs.collections.api.BooleanIterablepublic boolean noneSatisfy(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate)
noneSatisfy in interface com.gs.collections.api.BooleanIterablepublic boolean[] toArray()
toArray in interface com.gs.collections.api.BooleanIterable