Class FloatIntHashMap.KeySet
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableFloatKeySet
-
- org.eclipse.collections.impl.map.mutable.primitive.FloatIntHashMap.KeySet
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
,MutableFloatCollection
,FloatIterable
,PrimitiveIterable
,FloatSet
,MutableFloatSet
- Enclosing class:
- FloatIntHashMap
private class FloatIntHashMap.KeySet extends AbstractMutableFloatKeySet
-
-
Constructor Summary
Constructors Modifier Constructor Description private
KeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableFloatIterator
floatIterator()
Returns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style.FloatSet
freeze()
Returns a frozen copy of this set.protected float
getKeyAtIndex(int index)
protected MutableFloatKeysMap
getOuter()
protected AbstractMutableIntValuesMap.SentinelValues
getSentinelValues()
protected int
getTableSize()
MutableFloatSet
newEmpty()
Creates a new empty mutable version of the same Set type.boolean
retainAll(float... source)
boolean
retainAll(FloatIterable source)
-
Methods inherited from class org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableFloatKeySet
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, cartesianProduct, chunk, clear, collect, contains, containsAll, containsAll, count, detectIfNone, each, equals, hashCode, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, notEmpty, readExternal, reject, remove, removeAll, removeAll, select, size, sum, toArray, toArray, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, toString, with, withAll, without, withoutAll, writeExternal, writeReplace
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.FloatIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListBy
-
Methods inherited from interface org.eclipse.collections.api.set.primitive.FloatSet
isProperSubsetOf, isSubsetOf
-
Methods inherited from interface org.eclipse.collections.api.collection.primitive.MutableFloatCollection
removeIf
-
Methods inherited from interface org.eclipse.collections.api.set.primitive.MutableFloatSet
difference, intersect, symmetricDifference, tap, union
-
-
-
-
Method Detail
-
getOuter
protected MutableFloatKeysMap getOuter()
- Specified by:
getOuter
in classAbstractMutableFloatKeySet
-
getSentinelValues
protected AbstractMutableIntValuesMap.SentinelValues getSentinelValues()
- Specified by:
getSentinelValues
in classAbstractMutableFloatKeySet
-
getKeyAtIndex
protected float getKeyAtIndex(int index)
- Specified by:
getKeyAtIndex
in classAbstractMutableFloatKeySet
-
getTableSize
protected int getTableSize()
- Specified by:
getTableSize
in classAbstractMutableFloatKeySet
-
floatIterator
public MutableFloatIterator floatIterator()
Description copied from interface:FloatIterable
Returns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style.
-
retainAll
public boolean retainAll(FloatIterable source)
- See Also:
Collection.retainAll(Collection)
-
retainAll
public boolean retainAll(float... source)
- See Also:
Collection.retainAll(Collection)
-
freeze
public FloatSet freeze()
Description copied from interface:MutableFloatSet
Returns a frozen copy of this set. A frozen copy is the same thing as an immutable copy without safe-publish guarantees.
-
newEmpty
public MutableFloatSet newEmpty()
Description copied from interface:MutableFloatSet
Creates a new empty mutable version of the same Set type.- Since:
- 9.2.
-
-