Class AbstractMutableByteValuesMap
- java.lang.Object
-
- org.eclipse.collections.impl.primitive.AbstractByteIterable
-
- org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableByteValuesMap
-
- All Implemented Interfaces:
ByteIterable,ByteValuesMap,MutableByteValuesMap,PrimitiveIterable
- Direct Known Subclasses:
ByteByteHashMap,CharByteHashMap,DoubleByteHashMap,FloatByteHashMap,IntByteHashMap,LongByteHashMap,ShortByteHashMap
public abstract class AbstractMutableByteValuesMap extends AbstractByteIterable implements MutableByteValuesMap
This file was automatically generated from template file abstractMutablePrimitiveValuesMap.stg.- Since:
- 6.0.
-
-
Constructor Summary
Constructors Constructor Description AbstractMutableByteValuesMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(BytePredicate predicate)booleananySatisfy(BytePredicate predicate)voidappendString(Appendable appendable, String start, String separator, String end)RichIterable<ByteIterable>chunk(int size)<V> MutableBag<V>collect(ByteToObjectFunction<? extends V> function)booleancontains(byte value)booleancontainsAll(ByteIterable source)booleancontainsValue(byte value)intcount(BytePredicate predicate)bytedetectIfNone(BytePredicate predicate, byte value)voideach(ByteProcedure procedure)voidforEachValue(ByteProcedure procedure)booleanisEmpty()bytemax()bytemin()booleannotEmpty()MutableByteBagreject(BytePredicate predicate)MutableByteBagselect(BytePredicate predicate)intsize()longsum()byte[]toArray()byte[]toArray(byte[] target)-
Methods inherited from class org.eclipse.collections.impl.primitive.AbstractByteIterable
asLazy, average, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.ByteIterable
asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAll, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, maxIfEmpty, median, medianIfEmpty, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, summaryStatistics, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListBy
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.ByteValuesMap
tap, values
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableByteValuesMap
byteIterator, clear
-
Methods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, makeString, makeString, makeString, toString
-
-
-
-
Method Detail
-
contains
public boolean contains(byte value)
- Specified by:
containsin interfaceByteIterable
-
containsAll
public boolean containsAll(ByteIterable source)
- Specified by:
containsAllin interfaceByteIterable
-
max
public byte max()
- Specified by:
maxin interfaceByteIterable
-
min
public byte min()
- Specified by:
minin interfaceByteIterable
-
size
public int size()
- Specified by:
sizein interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmptyin interfacePrimitiveIterable
-
each
public void each(ByteProcedure procedure)
- Specified by:
eachin interfaceByteIterable- Since:
- 7.0.
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendStringin interfacePrimitiveIterable
-
toArray
public byte[] toArray()
- Specified by:
toArrayin interfaceByteIterable
-
toArray
public byte[] toArray(byte[] target)
- Specified by:
toArrayin interfaceByteIterable
-
select
public MutableByteBag select(BytePredicate predicate)
- Specified by:
selectin interfaceByteIterable- Specified by:
selectin interfaceByteValuesMap- Specified by:
selectin interfaceMutableByteValuesMap
-
reject
public MutableByteBag reject(BytePredicate predicate)
- Specified by:
rejectin interfaceByteIterable- Specified by:
rejectin interfaceByteValuesMap- Specified by:
rejectin interfaceMutableByteValuesMap
-
collect
public <V> MutableBag<V> collect(ByteToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceByteIterable- Specified by:
collectin interfaceByteValuesMap- Specified by:
collectin interfaceMutableByteValuesMap
-
detectIfNone
public byte detectIfNone(BytePredicate predicate, byte value)
- Specified by:
detectIfNonein interfaceByteIterable
-
count
public int count(BytePredicate predicate)
- Specified by:
countin interfaceByteIterable
-
anySatisfy
public boolean anySatisfy(BytePredicate predicate)
- Specified by:
anySatisfyin interfaceByteIterable
-
allSatisfy
public boolean allSatisfy(BytePredicate predicate)
- Specified by:
allSatisfyin interfaceByteIterable
-
chunk
public RichIterable<ByteIterable> chunk(int size)
- Specified by:
chunkin interfaceByteIterable
-
sum
public long sum()
- Specified by:
sumin interfaceByteIterable
-
containsValue
public boolean containsValue(byte value)
- Specified by:
containsValuein interfaceByteValuesMap
-
forEachValue
public void forEachValue(ByteProcedure procedure)
- Specified by:
forEachValuein interfaceByteValuesMap
-
-