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

public abstract Class AbstractMutableIntValuesMap

extends AbstractIntIterable
implements MutableIntValuesMap
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.map.primitive.MutableIntValuesMap, org.eclipse.collections.api.map.primitive.IntValuesMap, org.eclipse.collections.api.IntIterable, org.eclipse.collections.api.PrimitiveIterable
Known Direct Subclasses
org.eclipse.collections.impl.map.mutable.primitive.ByteIntHashMap, org.eclipse.collections.impl.map.mutable.primitive.IntIntHashMap, org.eclipse.collections.impl.map.mutable.primitive.CharIntHashMap, org.eclipse.collections.impl.map.mutable.primitive.LongIntHashMap, org.eclipse.collections.impl.map.mutable.primitive.FloatIntHashMap, org.eclipse.collections.impl.map.mutable.primitive.DoubleIntHashMap, org.eclipse.collections.impl.map.mutable.primitive.ShortIntHashMap
Imports
java.io.IOException, java.util.NoSuchElementException, org.eclipse.collections.api.IntIterable, .LazyIntIterable, .RichIterable, org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableIntBag, org.eclipse.collections.api.block.function.primitive.IntToObjectFunction, .ObjectIntToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.IntPredicate, org.eclipse.collections.api.block.procedure.primitive.IntProcedure, org.eclipse.collections.api.collection.MutableCollection, org.eclipse.collections.api.collection.primitive.ImmutableIntCollection, .MutableIntCollection, org.eclipse.collections.api.factory.Bags, org.eclipse.collections.api.iterator.IntIterator, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.list.primitive.MutableIntList, org.eclipse.collections.api.map.primitive.MutableIntValuesMap, org.eclipse.collections.api.set.primitive.MutableIntSet, org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag, org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedIntCollection, .UnmodifiableIntCollection, org.eclipse.collections.impl.factory.Lists, org.eclipse.collections.impl.factory.primitive.IntBags, .IntLists, org.eclipse.collections.impl.lazy.primitive.LazyIntIterableAdapter, org.eclipse.collections.impl.primitive.AbstractIntIterable, org.eclipse.collections.impl.set.mutable.primitive.IntHashSet

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

protected void
addRemovedKeyValue(int value)

public boolean
allSatisfy(IntPredicate predicate)

Implements org.eclipse.collections.api.IntIterable.allSatisfy.

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

public boolean
anySatisfy(IntPredicate predicate)

Implements org.eclipse.collections.api.IntIterable.anySatisfy.

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

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

Partitions elements in fixed size chunks.

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

Implements org.eclipse.collections.api.map.primitive.MutableIntValuesMap.collect, org.eclipse.collections.api.IntIterable.collect.

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

public boolean
contains(int value)

Implements org.eclipse.collections.api.IntIterable.contains.

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

public boolean
containsAll(IntIterable source)

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

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

public boolean
containsValue(int value)

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

Returns whether or not this map contains the value.

public int
count(IntPredicate predicate)

Implements org.eclipse.collections.api.IntIterable.count.

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

public int
public void
each(IntProcedure procedure)

Implements org.eclipse.collections.api.IntIterable.each.

A synonym for forEach.

public void
forEachValue(IntProcedure procedure)

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

Iterates through each value in this map.

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

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

The English equivalent of !this.isEmpty()

public MutableIntBag
reject(IntPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableIntValuesMap.reject, org.eclipse.collections.api.IntIterable.reject.

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

protected void
protected void
public MutableIntBag
select(IntPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableIntValuesMap.select, org.eclipse.collections.api.IntIterable.select.

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

Implements org.eclipse.collections.api.IntIterable.toArray.

Converts the IntIterable to a primitive int array.

public int[]
toArray(int[] target)

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

Converts the IntIterable to a primitive int array.

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