Class DoubleShortHashMap.KeySet
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableDoubleKeySet
-
- org.eclipse.collections.impl.map.mutable.primitive.DoubleShortHashMap.KeySet
-
- All Implemented Interfaces:
java.io.Externalizable,java.io.Serializable,MutableDoubleCollection,DoubleIterable,PrimitiveIterable,DoubleSet,MutableDoubleSet
- Enclosing class:
- DoubleShortHashMap
private class DoubleShortHashMap.KeySet extends AbstractMutableDoubleKeySet
-
-
Constructor Summary
Constructors Modifier Constructor Description privateKeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableDoubleIteratordoubleIterator()Returns a primitive iterator that can be used to iterate over the DoubleIterable in an imperative style.DoubleSetfreeze()Returns a frozen copy of this set.protected doublegetKeyAtIndex(int index)protected MutableDoubleKeysMapgetOuter()protected AbstractMutableShortValuesMap.SentinelValuesgetSentinelValues()protected intgetTableSize()MutableDoubleSetnewEmpty()Creates a new empty mutable version of the same Set type.booleanretainAll(double... source)booleanretainAll(DoubleIterable source)-
Methods inherited from class org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableDoubleKeySet
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, boxed, 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.DoubleIterable
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.DoubleSet
isProperSubsetOf, isSubsetOf
-
Methods inherited from interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollection
removeIf
-
Methods inherited from interface org.eclipse.collections.api.set.primitive.MutableDoubleSet
difference, intersect, symmetricDifference, tap, union
-
-
-
-
Method Detail
-
getOuter
protected MutableDoubleKeysMap getOuter()
- Specified by:
getOuterin classAbstractMutableDoubleKeySet
-
getSentinelValues
protected AbstractMutableShortValuesMap.SentinelValues getSentinelValues()
- Specified by:
getSentinelValuesin classAbstractMutableDoubleKeySet
-
getKeyAtIndex
protected double getKeyAtIndex(int index)
- Specified by:
getKeyAtIndexin classAbstractMutableDoubleKeySet
-
getTableSize
protected int getTableSize()
- Specified by:
getTableSizein classAbstractMutableDoubleKeySet
-
doubleIterator
public MutableDoubleIterator doubleIterator()
Description copied from interface:DoubleIterableReturns a primitive iterator that can be used to iterate over the DoubleIterable in an imperative style.
-
retainAll
public boolean retainAll(DoubleIterable source)
- See Also:
Collection.retainAll(Collection)
-
retainAll
public boolean retainAll(double... source)
- See Also:
Collection.retainAll(Collection)
-
freeze
public DoubleSet freeze()
Description copied from interface:MutableDoubleSetReturns a frozen copy of this set. A frozen copy is the same thing as an immutable copy without safe-publish guarantees.
-
newEmpty
public MutableDoubleSet newEmpty()
Description copied from interface:MutableDoubleSetCreates a new empty mutable version of the same Set type.- Since:
- 9.2.
-
-