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

public abstract Class AbstractMutableFloatKeySet

extends Object
implements MutableFloatSet, Externalizable
Class Inheritance
All Implemented Interfaces
java.io.Externalizable, java.io.Serializable, org.eclipse.collections.api.set.primitive.MutableFloatSet, org.eclipse.collections.api.set.primitive.FloatSet, org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.PrimitiveIterable, org.eclipse.collections.api.collection.primitive.MutableFloatCollection
Known Direct Subclasses
org.eclipse.collections.impl.map.mutable.primitive.FloatDoubleHashMap.KeySet, org.eclipse.collections.impl.map.mutable.primitive.FloatFloatHashMap.KeySet, org.eclipse.collections.impl.map.mutable.primitive.FloatIntHashMap.KeySet, org.eclipse.collections.impl.map.mutable.primitive.FloatLongHashMap.KeySet, org.eclipse.collections.impl.map.mutable.primitive.FloatObjectHashMap.KeySet, org.eclipse.collections.impl.map.mutable.primitive.FloatShortHashMap.KeySet, org.eclipse.collections.impl.map.mutable.primitive.FloatBooleanHashMap.KeySet, org.eclipse.collections.impl.map.mutable.primitive.FloatByteHashMap.KeySet, org.eclipse.collections.impl.map.mutable.primitive.FloatCharHashMap.KeySet
Imports
java.io.IOException, .Externalizable, .ObjectInput, .ObjectStreamException, .ObjectOutput, java.util.Arrays, .NoSuchElementException, org.eclipse.collections.api.RichIterable, .FloatIterable, .LazyFloatIterable, .LazyIterable, 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.iterator.FloatIterator, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.list.primitive.MutableFloatList, org.eclipse.collections.api.set.primitive.ImmutableFloatSet, .FloatSet, .MutableFloatSet, org.eclipse.collections.impl.bag.mutable.primitive.FloatHashBag, org.eclipse.collections.impl.factory.Lists, .Sets, org.eclipse.collections.impl.factory.primitive.FloatSets, org.eclipse.collections.impl.lazy.primitive.LazyFloatIterableAdapter, org.eclipse.collections.impl.list.mutable.primitive.FloatArrayList, org.eclipse.collections.api.set.MutableSet, org.eclipse.collections.impl.set.mutable.primitive.BoxedMutableFloatSet, .FloatHashSet, .SynchronizedFloatSet, .UnmodifiableFloatSet, org.eclipse.collections.api.tuple.primitive.FloatFloatPair

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final float
private static final float
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
public boolean
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)

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

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

public void
appendString(Appendable appendable, String separator)

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

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

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 LazyFloatIterable
asLazy()

Implements org.eclipse.collections.api.FloatIterable.asLazy.

Returns a LazyFloatIterable adapter wrapping the source FloatIterable.

public MutableFloatSet
public MutableFloatSet
public double
public MutableSet<Float>
public LazyIterable<FloatFloatPair>
cartesianProduct(FloatSet set)

Implements org.eclipse.collections.api.set.primitive.FloatSet.cartesianProduct.

Returns the set whose members are all possible ordered pairs (a, b) where a is a member of this and b is a member of set.

public RichIterable<FloatIterable>
chunk(int size)

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

Partitions elements in fixed size chunks.

public void
public <V> MutableSet<V>
collect(FloatToObjectFunction<? extends V> function)

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.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(float... source)

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

Returns true if all of the values specified in the source array are contained in the FloatIterable, and false if they are 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 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 boolean
protected abstract float
getKeyAtIndex(int index)

protected abstract MutableFloatKeysMap
protected abstract AbstractSentinelValues
protected abstract int
public int
public <T> T
injectInto(T injectedValue, ObjectFloatToObjectFunction<? super T, ? extends T> function)

Implements org.eclipse.collections.api.FloatIterable.injectInto.

public boolean
isEmpty()

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

Returns true if this iterable has zero items.

private static boolean
isEmptyKey(float key)

private static boolean
isNonSentinel(float key)

private static boolean
isRemovedKey(float key)

public String
makeString()

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

Returns a string representation of this collection by delegating to makeString(String) and defaulting the separator parameter to the characters ", " (comma and space).

public String
makeString(String separator)

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

Returns a string representation of this collection by delegating to makeString(String, String, String) and defaulting the start and end parameters to "" (the empty String).

public String
makeString(String start, String separator, String end)

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

Returns a string representation of this collection with the elements separated by the specified separator and enclosed between the start and end strings.

public float
public float
public double
public float
public float
public boolean
notEmpty()

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

The English equivalent of !this.isEmpty()

public void
readExternal(ObjectInput in)

Implements java.io.Externalizable.readExternal.

The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.

public MutableFloatSet
reject(FloatPredicate predicate)

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.reject.

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

public boolean
public boolean
public boolean
public MutableFloatSet
select(FloatPredicate predicate)

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.select.

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

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[] result)

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

Converts the FloatIterable to a primitive float array.

public MutableFloatBag
toBag()

Implements org.eclipse.collections.api.FloatIterable.toBag.

Converts the FloatIterable to a new MutableFloatBag.

public ImmutableFloatSet
toImmutable()

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.toImmutable.

Returns an immutable copy of this set.

public MutableFloatList
toList()

Implements org.eclipse.collections.api.FloatIterable.toList.

Converts the FloatIterable to a new MutableFloatList.

public MutableFloatSet
toSet()

Implements org.eclipse.collections.api.FloatIterable.toSet.

Converts the FloatIterable to a new MutableFloatSet.

public float[]
public MutableFloatList
public String
toString()

Overrides java.lang.Object.toString.

Implements org.eclipse.collections.api.PrimitiveIterable.toString.

Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets.

public MutableFloatSet
public MutableFloatSet
public MutableFloatSet
public MutableFloatSet
public void
writeExternal(ObjectOutput out)

Implements java.io.Externalizable.writeExternal.

The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

public Object
Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAllwaitwaitwait