public abstract class AbstractMutableByteValuesMap extends AbstractByteIterable implements com.gs.collections.api.map.primitive.MutableByteValuesMap
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractMutableByteValuesMap.AbstractByteValuesCollection |
protected static class |
AbstractMutableByteValuesMap.SentinelValues |
| Constructor and Description |
|---|
AbstractMutableByteValuesMap() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEmptyKeyValue(byte value) |
protected void |
addRemovedKeyValue(byte value) |
boolean |
allSatisfy(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate) |
boolean |
anySatisfy(com.gs.collections.api.block.predicate.primitive.BytePredicate 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.ByteToObjectFunction<? extends V> function) |
boolean |
contains(byte value) |
boolean |
containsAll(com.gs.collections.api.ByteIterable source) |
boolean |
containsValue(byte value) |
int |
count(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate) |
byte |
detectIfNone(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate,
byte value) |
void |
each(com.gs.collections.api.block.procedure.primitive.ByteProcedure procedure) |
void |
forEach(com.gs.collections.api.block.procedure.primitive.ByteProcedure procedure) |
void |
forEachValue(com.gs.collections.api.block.procedure.primitive.ByteProcedure procedure) |
protected abstract byte |
getEmptyValue() |
protected abstract int |
getOccupiedWithData() |
protected abstract AbstractMutableByteValuesMap.SentinelValues |
getSentinelValues() |
protected abstract int |
getTableSize() |
protected abstract byte |
getValueAtIndex(int index) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
protected abstract boolean |
isNonSentinelAtIndex(int index) |
byte |
max() |
byte |
min() |
boolean |
noneSatisfy(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
com.gs.collections.api.collection.primitive.MutableByteCollection |
reject(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate) |
protected void |
removeEmptyKey() |
protected void |
removeRemovedKey() |
com.gs.collections.api.collection.primitive.MutableByteCollection |
select(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate) |
protected abstract void |
setSentinelValuesNull() |
int |
size()
Returns the number of items in this iterable.
|
long |
sum() |
byte[] |
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, waitbyteIterator, clearprotected abstract int getOccupiedWithData()
protected abstract AbstractMutableByteValuesMap.SentinelValues getSentinelValues()
protected abstract void setSentinelValuesNull()
protected abstract byte getEmptyValue()
protected abstract byte getValueAtIndex(int index)
protected abstract int getTableSize()
protected abstract boolean isNonSentinelAtIndex(int index)
protected void addEmptyKeyValue(byte value)
protected void removeEmptyKey()
protected void addRemovedKeyValue(byte value)
protected void removeRemovedKey()
public boolean contains(byte value)
contains in interface com.gs.collections.api.ByteIterablepublic boolean containsAll(com.gs.collections.api.ByteIterable source)
containsAll in interface com.gs.collections.api.ByteIterablecontainsAll in class AbstractByteIterablepublic byte max()
max in interface com.gs.collections.api.ByteIterablepublic byte min()
min in interface com.gs.collections.api.ByteIterablepublic 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 AbstractByteIterablepublic boolean notEmpty()
com.gs.collections.api.PrimitiveIterablenotEmpty in interface com.gs.collections.api.PrimitiveIterablenotEmpty in class AbstractByteIterablepublic void forEach(com.gs.collections.api.block.procedure.primitive.ByteProcedure procedure)
forEach in interface com.gs.collections.api.ByteIterablepublic void each(com.gs.collections.api.block.procedure.primitive.ByteProcedure procedure)
each in interface com.gs.collections.api.ByteIterablepublic 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 byte[] toArray()
toArray in interface com.gs.collections.api.ByteIterablepublic com.gs.collections.api.collection.primitive.MutableByteCollection select(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate)
select in interface com.gs.collections.api.ByteIterableselect in interface com.gs.collections.api.map.primitive.MutableByteValuesMappublic com.gs.collections.api.collection.primitive.MutableByteCollection reject(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate)
reject in interface com.gs.collections.api.ByteIterablereject in interface com.gs.collections.api.map.primitive.MutableByteValuesMappublic <V> com.gs.collections.api.collection.MutableCollection<V> collect(com.gs.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.ByteIterablecollect in interface com.gs.collections.api.map.primitive.MutableByteValuesMappublic byte detectIfNone(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate,
byte value)
detectIfNone in interface com.gs.collections.api.ByteIterablepublic int count(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate)
count in interface com.gs.collections.api.ByteIterablepublic boolean anySatisfy(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate)
anySatisfy in interface com.gs.collections.api.ByteIterablepublic boolean allSatisfy(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate)
allSatisfy in interface com.gs.collections.api.ByteIterablepublic boolean noneSatisfy(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate)
noneSatisfy in interface com.gs.collections.api.ByteIterablepublic long sum()
sum in interface com.gs.collections.api.ByteIterablepublic boolean containsValue(byte value)
containsValue in interface com.gs.collections.api.map.primitive.ByteValuesMappublic void forEachValue(com.gs.collections.api.block.procedure.primitive.ByteProcedure procedure)
forEachValue in interface com.gs.collections.api.map.primitive.ByteValuesMap