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

public abstract Class AbstractMutableShortValuesMap

extends AbstractShortIterable
implements MutableShortValuesMap
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.map.primitive.MutableShortValuesMap, org.eclipse.collections.api.map.primitive.ShortValuesMap, org.eclipse.collections.api.ShortIterable, org.eclipse.collections.api.PrimitiveIterable
Known Direct Subclasses
org.eclipse.collections.impl.map.mutable.primitive.ByteShortHashMap, org.eclipse.collections.impl.map.mutable.primitive.CharShortHashMap, org.eclipse.collections.impl.map.mutable.primitive.IntShortHashMap, org.eclipse.collections.impl.map.mutable.primitive.FloatShortHashMap, org.eclipse.collections.impl.map.mutable.primitive.LongShortHashMap, org.eclipse.collections.impl.map.mutable.primitive.DoubleShortHashMap, org.eclipse.collections.impl.map.mutable.primitive.ShortShortHashMap
Imports
java.io.IOException, java.util.NoSuchElementException, org.eclipse.collections.api.ShortIterable, .LazyShortIterable, .RichIterable, org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableShortBag, org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction, .ObjectShortToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.ShortPredicate, org.eclipse.collections.api.block.procedure.primitive.ShortProcedure, org.eclipse.collections.api.collection.MutableCollection, org.eclipse.collections.api.collection.primitive.ImmutableShortCollection, .MutableShortCollection, org.eclipse.collections.api.factory.Bags, org.eclipse.collections.api.iterator.ShortIterator, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.list.primitive.MutableShortList, org.eclipse.collections.api.map.primitive.MutableShortValuesMap, org.eclipse.collections.api.set.primitive.MutableShortSet, org.eclipse.collections.impl.bag.mutable.primitive.ShortHashBag, org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedShortCollection, .UnmodifiableShortCollection, org.eclipse.collections.impl.factory.Lists, org.eclipse.collections.impl.factory.primitive.ShortBags, .ShortLists, org.eclipse.collections.impl.lazy.primitive.LazyShortIterableAdapter, org.eclipse.collections.impl.primitive.AbstractShortIterable, org.eclipse.collections.impl.set.mutable.primitive.ShortHashSet

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(short value)

protected void
addRemovedKeyValue(short value)

public boolean
allSatisfy(ShortPredicate predicate)

Implements org.eclipse.collections.api.ShortIterable.allSatisfy.

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

public boolean
anySatisfy(ShortPredicate predicate)

Implements org.eclipse.collections.api.ShortIterable.anySatisfy.

Returns true if any of the elements in the ShortIterable 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<ShortIterable>
chunk(int size)

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

Partitions elements in fixed size chunks.

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

Implements org.eclipse.collections.api.map.primitive.MutableShortValuesMap.collect, org.eclipse.collections.api.ShortIterable.collect.

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

public boolean
contains(short value)

Implements org.eclipse.collections.api.ShortIterable.contains.

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

public boolean
containsAll(ShortIterable source)

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

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

public boolean
containsValue(short value)

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

Returns whether or not this map contains the value.

public int
count(ShortPredicate predicate)

Implements org.eclipse.collections.api.ShortIterable.count.

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

public short
public void
each(ShortProcedure procedure)

Implements org.eclipse.collections.api.ShortIterable.each.

A synonym for forEach.

public void
forEachValue(ShortProcedure procedure)

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

Iterates through each value in this map.

protected abstract short
protected abstract int
protected abstract AbstractMutableShortValuesMap.SentinelValues
protected abstract int
protected abstract short
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 short
public short
public boolean
notEmpty()

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

The English equivalent of !this.isEmpty()

public MutableShortBag
reject(ShortPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableShortValuesMap.reject, org.eclipse.collections.api.ShortIterable.reject.

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

protected void
protected void
public MutableShortBag
select(ShortPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableShortValuesMap.select, org.eclipse.collections.api.ShortIterable.select.

Returns a new ShortIterable with all of the elements in the ShortIterable 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 short[]
toArray()

Implements org.eclipse.collections.api.ShortIterable.toArray.

Converts the ShortIterable to a primitive short array.

public short[]
toArray(short[] target)

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

Converts the ShortIterable to a primitive short array.

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