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

public abstract Class AbstractMutableFloatValuesMap

extends AbstractFloatIterable
implements MutableFloatValuesMap
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.map.primitive.MutableFloatValuesMap, org.eclipse.collections.api.map.primitive.FloatValuesMap, org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.PrimitiveIterable
Known Direct Subclasses
org.eclipse.collections.impl.map.mutable.primitive.ByteFloatHashMap, org.eclipse.collections.impl.map.mutable.primitive.IntFloatHashMap, org.eclipse.collections.impl.map.mutable.primitive.CharFloatHashMap, org.eclipse.collections.impl.map.mutable.primitive.DoubleFloatHashMap, org.eclipse.collections.impl.map.mutable.primitive.LongFloatHashMap, org.eclipse.collections.impl.map.mutable.primitive.FloatFloatHashMap, org.eclipse.collections.impl.map.mutable.primitive.ShortFloatHashMap
Imports
java.io.IOException, java.util.NoSuchElementException, org.eclipse.collections.api.FloatIterable, .LazyFloatIterable, .RichIterable, org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableFloatBag, org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction, .ObjectFloatToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.FloatPredicate, org.eclipse.collections.api.block.procedure.primitive.FloatProcedure, org.eclipse.collections.api.collection.MutableCollection, org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection, .MutableFloatCollection, org.eclipse.collections.api.factory.Bags, org.eclipse.collections.api.iterator.FloatIterator, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.list.primitive.MutableFloatList, org.eclipse.collections.api.map.primitive.MutableFloatValuesMap, org.eclipse.collections.api.set.primitive.MutableFloatSet, org.eclipse.collections.impl.bag.mutable.primitive.FloatHashBag, org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedFloatCollection, .UnmodifiableFloatCollection, org.eclipse.collections.impl.factory.Lists, org.eclipse.collections.impl.factory.primitive.FloatBags, .FloatLists, org.eclipse.collections.impl.lazy.primitive.LazyFloatIterableAdapter, org.eclipse.collections.impl.primitive.AbstractFloatIterable, org.eclipse.collections.impl.set.mutable.primitive.FloatHashSet

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

protected void
addRemovedKeyValue(float value)

public boolean
allSatisfy(FloatPredicate predicate)

Implements org.eclipse.collections.api.FloatIterable.allSatisfy.

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

public boolean
anySatisfy(FloatPredicate predicate)

Implements org.eclipse.collections.api.FloatIterable.anySatisfy.

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

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

Partitions elements in fixed size chunks.

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

Implements org.eclipse.collections.api.map.primitive.MutableFloatValuesMap.collect, org.eclipse.collections.api.FloatIterable.collect.

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

public boolean
contains(float value)

Implements org.eclipse.collections.api.FloatIterable.contains.

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

public boolean
containsAll(FloatIterable source)

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

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

public boolean
containsValue(float value)

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

Returns whether or not this map contains the value.

public int
count(FloatPredicate predicate)

Implements org.eclipse.collections.api.FloatIterable.count.

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

public float
public void
each(FloatProcedure procedure)

Implements org.eclipse.collections.api.FloatIterable.each.

A synonym for forEach.

public void
forEachValue(FloatProcedure procedure)

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

Iterates through each value in this map.

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

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

The English equivalent of !this.isEmpty()

public MutableFloatBag
reject(FloatPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableFloatValuesMap.reject, org.eclipse.collections.api.FloatIterable.reject.

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

protected void
protected void
public MutableFloatBag
select(FloatPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableFloatValuesMap.select, org.eclipse.collections.api.FloatIterable.select.

Returns a new FloatIterable with all of the elements in the FloatIterable 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 double
public float[]
toArray()

Implements org.eclipse.collections.api.FloatIterable.toArray.

Converts the FloatIterable to a primitive float array.

public float[]
toArray(float[] target)

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

Converts the FloatIterable to a primitive float array.

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