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 boolean
allSatisfy(BytePredicate predicate)
boolean
anySatisfy(BytePredicate predicate)
void
appendString(Appendable appendable, String start, String separator, String end)
RichIterable<ByteIterable>
chunk(int size)
<V> MutableBag<V>
collect(ByteToObjectFunction<? extends V> function)
boolean
contains(byte value)
boolean
containsAll(ByteIterable source)
boolean
containsValue(byte value)
int
count(BytePredicate predicate)
byte
detectIfNone(BytePredicate predicate, byte value)
void
each(ByteProcedure procedure)
void
forEachValue(ByteProcedure procedure)
boolean
isEmpty()
byte
max()
byte
min()
boolean
notEmpty()
MutableByteBag
reject(BytePredicate predicate)
MutableByteBag
select(BytePredicate predicate)
int
size()
long
sum()
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:
contains
in interfaceByteIterable
-
containsAll
public boolean containsAll(ByteIterable source)
- Specified by:
containsAll
in interfaceByteIterable
-
max
public byte max()
- Specified by:
max
in interfaceByteIterable
-
min
public byte min()
- Specified by:
min
in interfaceByteIterable
-
size
public int size()
- Specified by:
size
in interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmpty
in interfacePrimitiveIterable
-
each
public void each(ByteProcedure procedure)
- Specified by:
each
in interfaceByteIterable
- Since:
- 7.0.
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendString
in interfacePrimitiveIterable
-
toArray
public byte[] toArray()
- Specified by:
toArray
in interfaceByteIterable
-
toArray
public byte[] toArray(byte[] target)
- Specified by:
toArray
in interfaceByteIterable
-
select
public MutableByteBag select(BytePredicate predicate)
- Specified by:
select
in interfaceByteIterable
- Specified by:
select
in interfaceByteValuesMap
- Specified by:
select
in interfaceMutableByteValuesMap
-
reject
public MutableByteBag reject(BytePredicate predicate)
- Specified by:
reject
in interfaceByteIterable
- Specified by:
reject
in interfaceByteValuesMap
- Specified by:
reject
in interfaceMutableByteValuesMap
-
collect
public <V> MutableBag<V> collect(ByteToObjectFunction<? extends V> function)
- Specified by:
collect
in interfaceByteIterable
- Specified by:
collect
in interfaceByteValuesMap
- Specified by:
collect
in interfaceMutableByteValuesMap
-
detectIfNone
public byte detectIfNone(BytePredicate predicate, byte value)
- Specified by:
detectIfNone
in interfaceByteIterable
-
count
public int count(BytePredicate predicate)
- Specified by:
count
in interfaceByteIterable
-
anySatisfy
public boolean anySatisfy(BytePredicate predicate)
- Specified by:
anySatisfy
in interfaceByteIterable
-
allSatisfy
public boolean allSatisfy(BytePredicate predicate)
- Specified by:
allSatisfy
in interfaceByteIterable
-
chunk
public RichIterable<ByteIterable> chunk(int size)
- Specified by:
chunk
in interfaceByteIterable
-
sum
public long sum()
- Specified by:
sum
in interfaceByteIterable
-
containsValue
public boolean containsValue(byte value)
- Specified by:
containsValue
in interfaceByteValuesMap
-
forEachValue
public void forEachValue(ByteProcedure procedure)
- Specified by:
forEachValue
in interfaceByteValuesMap
-
-