public abstract class AbstractMutableCharValuesMap extends AbstractCharIterable implements com.gs.collections.api.map.primitive.MutableCharValuesMap
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractMutableCharValuesMap.AbstractCharValuesCollection |
protected static class |
AbstractMutableCharValuesMap.SentinelValues |
| Constructor and Description |
|---|
AbstractMutableCharValuesMap() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEmptyKeyValue(char value) |
protected void |
addRemovedKeyValue(char value) |
boolean |
allSatisfy(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate) |
boolean |
anySatisfy(com.gs.collections.api.block.predicate.primitive.CharPredicate 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.CharToObjectFunction<? extends V> function) |
boolean |
contains(char value) |
boolean |
containsAll(com.gs.collections.api.CharIterable source) |
boolean |
containsValue(char value) |
int |
count(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate) |
char |
detectIfNone(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate,
char value) |
void |
each(com.gs.collections.api.block.procedure.primitive.CharProcedure procedure) |
void |
forEach(com.gs.collections.api.block.procedure.primitive.CharProcedure procedure) |
void |
forEachValue(com.gs.collections.api.block.procedure.primitive.CharProcedure procedure) |
protected abstract char |
getEmptyValue() |
protected abstract int |
getOccupiedWithData() |
protected abstract AbstractMutableCharValuesMap.SentinelValues |
getSentinelValues() |
protected abstract int |
getTableSize() |
protected abstract char |
getValueAtIndex(int index) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
protected abstract boolean |
isNonSentinelAtIndex(int index) |
char |
max() |
char |
min() |
boolean |
noneSatisfy(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
com.gs.collections.api.collection.primitive.MutableCharCollection |
reject(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate) |
protected void |
removeEmptyKey() |
protected void |
removeRemovedKey() |
com.gs.collections.api.collection.primitive.MutableCharCollection |
select(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate) |
protected abstract void |
setSentinelValuesNull() |
int |
size()
Returns the number of items in this iterable.
|
long |
sum() |
char[] |
toArray() |
appendString, appendString, asLazy, average, containsAll, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcharIterator, clearprotected abstract int getOccupiedWithData()
protected abstract AbstractMutableCharValuesMap.SentinelValues getSentinelValues()
protected abstract void setSentinelValuesNull()
protected abstract char getEmptyValue()
protected abstract char getValueAtIndex(int index)
protected abstract int getTableSize()
protected abstract boolean isNonSentinelAtIndex(int index)
protected void addEmptyKeyValue(char value)
protected void removeEmptyKey()
protected void addRemovedKeyValue(char value)
protected void removeRemovedKey()
public boolean contains(char value)
contains in interface com.gs.collections.api.CharIterablepublic boolean containsAll(com.gs.collections.api.CharIterable source)
containsAll in interface com.gs.collections.api.CharIterablecontainsAll in class AbstractCharIterablepublic char max()
max in interface com.gs.collections.api.CharIterablepublic char min()
min in interface com.gs.collections.api.CharIterablepublic 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 AbstractCharIterablepublic boolean notEmpty()
com.gs.collections.api.PrimitiveIterablenotEmpty in interface com.gs.collections.api.PrimitiveIterablenotEmpty in class AbstractCharIterablepublic void forEach(com.gs.collections.api.block.procedure.primitive.CharProcedure procedure)
forEach in interface com.gs.collections.api.CharIterablepublic void each(com.gs.collections.api.block.procedure.primitive.CharProcedure procedure)
each in interface com.gs.collections.api.CharIterablepublic 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 char[] toArray()
toArray in interface com.gs.collections.api.CharIterablepublic com.gs.collections.api.collection.primitive.MutableCharCollection select(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate)
select in interface com.gs.collections.api.CharIterableselect in interface com.gs.collections.api.map.primitive.MutableCharValuesMappublic com.gs.collections.api.collection.primitive.MutableCharCollection reject(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate)
reject in interface com.gs.collections.api.CharIterablereject in interface com.gs.collections.api.map.primitive.MutableCharValuesMappublic <V> com.gs.collections.api.collection.MutableCollection<V> collect(com.gs.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.CharIterablecollect in interface com.gs.collections.api.map.primitive.MutableCharValuesMappublic char detectIfNone(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate,
char value)
detectIfNone in interface com.gs.collections.api.CharIterablepublic int count(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate)
count in interface com.gs.collections.api.CharIterablepublic boolean anySatisfy(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate)
anySatisfy in interface com.gs.collections.api.CharIterablepublic boolean allSatisfy(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate)
allSatisfy in interface com.gs.collections.api.CharIterablepublic boolean noneSatisfy(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate)
noneSatisfy in interface com.gs.collections.api.CharIterablepublic long sum()
sum in interface com.gs.collections.api.CharIterablepublic boolean containsValue(char value)
containsValue in interface com.gs.collections.api.map.primitive.CharValuesMappublic void forEachValue(com.gs.collections.api.block.procedure.primitive.CharProcedure procedure)
forEachValue in interface com.gs.collections.api.map.primitive.CharValuesMap