Top Description Inners Constructors Methods
org.eclipse.collections.impl.map.mutable.primitive

public abstract Class AbstractMutableByteValuesMap

extends AbstractByteIterable
implements MutableByteValuesMap
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.map.primitive.MutableByteValuesMap, org.eclipse.collections.api.map.primitive.ByteValuesMap, org.eclipse.collections.api.ByteIterable, org.eclipse.collections.api.PrimitiveIterable
Known Direct Subclasses
org.eclipse.collections.impl.map.mutable.primitive.ByteByteHashMap, org.eclipse.collections.impl.map.mutable.primitive.IntByteHashMap, org.eclipse.collections.impl.map.mutable.primitive.ShortByteHashMap, org.eclipse.collections.impl.map.mutable.primitive.CharByteHashMap, org.eclipse.collections.impl.map.mutable.primitive.DoubleByteHashMap, org.eclipse.collections.impl.map.mutable.primitive.LongByteHashMap, org.eclipse.collections.impl.map.mutable.primitive.FloatByteHashMap
Imports
java.io.IOException, java.util.NoSuchElementException, org.eclipse.collections.api.ByteIterable, .LazyByteIterable, .RichIterable, org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableByteBag, org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction, .ObjectByteToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.BytePredicate, org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, org.eclipse.collections.api.collection.MutableCollection, org.eclipse.collections.api.collection.primitive.ImmutableByteCollection, .MutableByteCollection, org.eclipse.collections.api.factory.Bags, org.eclipse.collections.api.iterator.ByteIterator, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.list.primitive.MutableByteList, org.eclipse.collections.api.map.primitive.MutableByteValuesMap, org.eclipse.collections.api.set.primitive.MutableByteSet, org.eclipse.collections.impl.bag.mutable.primitive.ByteHashBag, org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedByteCollection, .UnmodifiableByteCollection, org.eclipse.collections.impl.factory.Lists, org.eclipse.collections.impl.factory.primitive.ByteBags, .ByteLists, org.eclipse.collections.impl.lazy.primitive.LazyByteIterableAdapter, org.eclipse.collections.impl.primitive.AbstractByteIterable, org.eclipse.collections.impl.set.mutable.primitive.ByteHashSet

This file was automatically generated from template file abstractMutablePrimitiveValuesMap.stg.
Since
6.0.

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected abstract class
protected static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
addEmptyKeyValue(byte value)

protected void
addRemovedKeyValue(byte value)

public boolean
allSatisfy(BytePredicate predicate)

Implements org.eclipse.collections.api.ByteIterable.allSatisfy.

Returns true if all of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.

public boolean
anySatisfy(BytePredicate predicate)

Implements org.eclipse.collections.api.ByteIterable.anySatisfy.

Returns true if any of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.

public void
appendString(Appendable appendable, String start, String separator, String end)

Implements org.eclipse.collections.api.PrimitiveIterable.appendString.

Prints a string representation of this collection onto the given Appendable.

public RichIterable<ByteIterable>
chunk(int size)

Overrides default org.eclipse.collections.api.ByteIterable.chunk.

Partitions elements in fixed size chunks.

public <V> MutableBag<V>
collect(ByteToObjectFunction<? extends V> function)

Implements org.eclipse.collections.api.map.primitive.MutableByteValuesMap.collect, org.eclipse.collections.api.ByteIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection.

public boolean
contains(byte value)

Implements org.eclipse.collections.api.ByteIterable.contains.

Returns true if the value is contained in the ByteIterable, and false if it is not.

public boolean
containsAll(ByteIterable source)

Overrides default org.eclipse.collections.api.ByteIterable.containsAll.

Returns true if all of the values specified in the source ByteIterable are contained in the ByteIterable, and false if they are not.

public boolean
containsValue(byte value)

Implements org.eclipse.collections.api.map.primitive.ByteValuesMap.containsValue.

Returns whether or not this map contains the value.

public int
count(BytePredicate predicate)

Implements org.eclipse.collections.api.ByteIterable.count.

Returns a count of the number of elements in the ByteIterable that return true for the specified predicate.

public byte
public void
each(ByteProcedure procedure)

Implements org.eclipse.collections.api.ByteIterable.each.

A synonym for forEach.

public void
forEachValue(ByteProcedure procedure)

Implements org.eclipse.collections.api.map.primitive.ByteValuesMap.forEachValue.

Iterates through each value in this map.

protected abstract byte
protected abstract int
protected abstract AbstractMutableByteValuesMap.SentinelValues
protected abstract int
protected abstract byte
getValueAtIndex(int index)

public boolean
isEmpty()

Overrides default org.eclipse.collections.api.PrimitiveIterable.isEmpty.

Returns true if this iterable has zero items.

protected abstract boolean
public byte
public byte
public boolean
notEmpty()

Overrides default org.eclipse.collections.api.PrimitiveIterable.notEmpty.

The English equivalent of !this.isEmpty()

public MutableByteBag
reject(BytePredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableByteValuesMap.reject, org.eclipse.collections.api.ByteIterable.reject.

Returns a new ByteIterable with all of the elements in the ByteIterable that return false for the specified predicate.

protected void
protected void
public MutableByteBag
select(BytePredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableByteValuesMap.select, org.eclipse.collections.api.ByteIterable.select.

Returns a new ByteIterable with all of the elements in the ByteIterable that return true for the specified predicate.

protected abstract void
public int
size()

Implements org.eclipse.collections.api.PrimitiveIterable.size.

Returns the number of items in this iterable.

public long
public byte[]
toArray()

Implements org.eclipse.collections.api.ByteIterable.toArray.

Converts the ByteIterable to a primitive byte array.

public byte[]
toArray(byte[] target)

Overrides default org.eclipse.collections.api.ByteIterable.toArray.

Converts the ByteIterable to a primitive byte array.

Inherited from org.eclipse.collections.impl.primitive.AbstractByteIterable:
asLazyaveragemaxIfEmptymedianminIfEmptytoBagtoListtoSettoSortedArraytoSortedListtoString