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

public abstract Class AbstractMutableLongValuesMap

extends AbstractLongIterable
implements MutableLongValuesMap
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.map.primitive.MutableLongValuesMap, org.eclipse.collections.api.map.primitive.LongValuesMap, org.eclipse.collections.api.LongIterable, org.eclipse.collections.api.PrimitiveIterable
Known Direct Subclasses
org.eclipse.collections.impl.map.mutable.primitive.ByteLongHashMap, org.eclipse.collections.impl.map.mutable.primitive.IntLongHashMap, org.eclipse.collections.impl.map.mutable.primitive.LongLongHashMap, org.eclipse.collections.impl.map.mutable.primitive.CharLongHashMap, org.eclipse.collections.impl.map.mutable.primitive.FloatLongHashMap, org.eclipse.collections.impl.map.mutable.primitive.DoubleLongHashMap, org.eclipse.collections.impl.map.mutable.primitive.ShortLongHashMap
Imports
java.io.IOException, java.util.NoSuchElementException, org.eclipse.collections.api.LongIterable, .LazyLongIterable, .RichIterable, org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableLongBag, org.eclipse.collections.api.block.function.primitive.LongToObjectFunction, .ObjectLongToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.LongPredicate, org.eclipse.collections.api.block.procedure.primitive.LongProcedure, org.eclipse.collections.api.collection.MutableCollection, org.eclipse.collections.api.collection.primitive.ImmutableLongCollection, .MutableLongCollection, org.eclipse.collections.api.factory.Bags, org.eclipse.collections.api.iterator.LongIterator, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.list.primitive.MutableLongList, org.eclipse.collections.api.map.primitive.MutableLongValuesMap, org.eclipse.collections.api.set.primitive.MutableLongSet, org.eclipse.collections.impl.bag.mutable.primitive.LongHashBag, org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedLongCollection, .UnmodifiableLongCollection, org.eclipse.collections.impl.factory.Lists, org.eclipse.collections.impl.factory.primitive.LongBags, .LongLists, org.eclipse.collections.impl.lazy.primitive.LazyLongIterableAdapter, org.eclipse.collections.impl.primitive.AbstractLongIterable, org.eclipse.collections.impl.set.mutable.primitive.LongHashSet

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

protected void
addRemovedKeyValue(long value)

public boolean
allSatisfy(LongPredicate predicate)

Implements org.eclipse.collections.api.LongIterable.allSatisfy.

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

public boolean
anySatisfy(LongPredicate predicate)

Implements org.eclipse.collections.api.LongIterable.anySatisfy.

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

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

Partitions elements in fixed size chunks.

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

Implements org.eclipse.collections.api.map.primitive.MutableLongValuesMap.collect, org.eclipse.collections.api.LongIterable.collect.

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

public boolean
contains(long value)

Implements org.eclipse.collections.api.LongIterable.contains.

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

public boolean
containsAll(LongIterable source)

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

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

public boolean
containsValue(long value)

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

Returns whether or not this map contains the value.

public int
count(LongPredicate predicate)

Implements org.eclipse.collections.api.LongIterable.count.

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

public long
public void
each(LongProcedure procedure)

Implements org.eclipse.collections.api.LongIterable.each.

A synonym for forEach.

public void
forEachValue(LongProcedure procedure)

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

Iterates through each value in this map.

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

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

The English equivalent of !this.isEmpty()

public MutableLongBag
reject(LongPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableLongValuesMap.reject, org.eclipse.collections.api.LongIterable.reject.

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

protected void
protected void
public MutableLongBag
select(LongPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableLongValuesMap.select, org.eclipse.collections.api.LongIterable.select.

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

Implements org.eclipse.collections.api.LongIterable.toArray.

Converts the LongIterable to a primitive long array.

public long[]
toArray(long[] target)

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

Converts the LongIterable to a primitive long array.

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