public abstract class AbstractMutableFloatValuesMap extends AbstractFloatIterable implements com.gs.collections.api.map.primitive.MutableFloatValuesMap
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractMutableFloatValuesMap.AbstractFloatValuesCollection |
protected static class |
AbstractMutableFloatValuesMap.SentinelValues |
| Constructor and Description |
|---|
AbstractMutableFloatValuesMap() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEmptyKeyValue(float value) |
protected void |
addRemovedKeyValue(float value) |
boolean |
allSatisfy(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
boolean |
anySatisfy(com.gs.collections.api.block.predicate.primitive.FloatPredicate 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.FloatToObjectFunction<? extends V> function) |
boolean |
contains(float value) |
boolean |
containsAll(com.gs.collections.api.FloatIterable source) |
boolean |
containsValue(float value) |
int |
count(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
float |
detectIfNone(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate,
float value) |
void |
each(com.gs.collections.api.block.procedure.primitive.FloatProcedure procedure) |
void |
forEach(com.gs.collections.api.block.procedure.primitive.FloatProcedure procedure) |
void |
forEachValue(com.gs.collections.api.block.procedure.primitive.FloatProcedure procedure) |
protected abstract float |
getEmptyValue() |
protected abstract int |
getOccupiedWithData() |
protected abstract AbstractMutableFloatValuesMap.SentinelValues |
getSentinelValues() |
protected abstract int |
getTableSize() |
protected abstract float |
getValueAtIndex(int index) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
protected abstract boolean |
isNonSentinelAtIndex(int index) |
float |
max() |
float |
min() |
boolean |
noneSatisfy(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
com.gs.collections.api.collection.primitive.MutableFloatCollection |
reject(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
protected void |
removeEmptyKey() |
protected void |
removeRemovedKey() |
com.gs.collections.api.collection.primitive.MutableFloatCollection |
select(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
protected abstract void |
setSentinelValuesNull() |
int |
size()
Returns the number of items in this iterable.
|
double |
sum() |
float[] |
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, waitclear, floatIteratorprotected abstract int getOccupiedWithData()
protected abstract AbstractMutableFloatValuesMap.SentinelValues getSentinelValues()
protected abstract void setSentinelValuesNull()
protected abstract float getEmptyValue()
protected abstract float getValueAtIndex(int index)
protected abstract int getTableSize()
protected abstract boolean isNonSentinelAtIndex(int index)
protected void addEmptyKeyValue(float value)
protected void removeEmptyKey()
protected void addRemovedKeyValue(float value)
protected void removeRemovedKey()
public boolean contains(float value)
contains in interface com.gs.collections.api.FloatIterablepublic boolean containsAll(com.gs.collections.api.FloatIterable source)
containsAll in interface com.gs.collections.api.FloatIterablecontainsAll in class AbstractFloatIterablepublic float max()
max in interface com.gs.collections.api.FloatIterablepublic float min()
min in interface com.gs.collections.api.FloatIterablepublic 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 AbstractFloatIterablepublic boolean notEmpty()
com.gs.collections.api.PrimitiveIterablenotEmpty in interface com.gs.collections.api.PrimitiveIterablenotEmpty in class AbstractFloatIterablepublic void forEach(com.gs.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEach in interface com.gs.collections.api.FloatIterablepublic void each(com.gs.collections.api.block.procedure.primitive.FloatProcedure procedure)
each in interface com.gs.collections.api.FloatIterablepublic 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 float[] toArray()
toArray in interface com.gs.collections.api.FloatIterablepublic com.gs.collections.api.collection.primitive.MutableFloatCollection select(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
select in interface com.gs.collections.api.FloatIterableselect in interface com.gs.collections.api.map.primitive.MutableFloatValuesMappublic com.gs.collections.api.collection.primitive.MutableFloatCollection reject(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
reject in interface com.gs.collections.api.FloatIterablereject in interface com.gs.collections.api.map.primitive.MutableFloatValuesMappublic <V> com.gs.collections.api.collection.MutableCollection<V> collect(com.gs.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.FloatIterablecollect in interface com.gs.collections.api.map.primitive.MutableFloatValuesMappublic float detectIfNone(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate,
float value)
detectIfNone in interface com.gs.collections.api.FloatIterablepublic int count(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
count in interface com.gs.collections.api.FloatIterablepublic boolean anySatisfy(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
anySatisfy in interface com.gs.collections.api.FloatIterablepublic boolean allSatisfy(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
allSatisfy in interface com.gs.collections.api.FloatIterablepublic boolean noneSatisfy(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
noneSatisfy in interface com.gs.collections.api.FloatIterablepublic double sum()
sum in interface com.gs.collections.api.FloatIterablepublic boolean containsValue(float value)
containsValue in interface com.gs.collections.api.map.primitive.FloatValuesMappublic void forEachValue(com.gs.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEachValue in interface com.gs.collections.api.map.primitive.FloatValuesMap