Class ShortDoubleHashMap.KeySet
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableShortKeySet
-
- org.eclipse.collections.impl.map.mutable.primitive.ShortDoubleHashMap.KeySet
-
- All Implemented Interfaces:
java.io.Externalizable,java.io.Serializable,MutableShortCollection,PrimitiveIterable,MutableShortSet,ShortSet,ShortIterable
- Enclosing class:
- ShortDoubleHashMap
private class ShortDoubleHashMap.KeySet extends AbstractMutableShortKeySet
-
-
Constructor Summary
Constructors Modifier Constructor Description privateKeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShortSetfreeze()Returns a frozen copy of this set.protected shortgetKeyAtIndex(int index)protected MutableShortKeysMapgetOuter()protected AbstractMutableDoubleValuesMap.SentinelValuesgetSentinelValues()protected intgetTableSize()MutableShortSetnewEmpty()Creates a new empty mutable version of the same Set type.booleanretainAll(short... source)booleanretainAll(ShortIterable source)MutableShortIteratorshortIterator()Returns a primitive iterator that can be used to iterate over the ShortIterable in an imperative style.-
Methods inherited from class org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableShortKeySet
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.collection.primitive.MutableShortCollection
removeIf
-
Methods inherited from interface org.eclipse.collections.api.set.primitive.MutableShortSet
difference, intersect, symmetricDifference, tap, union
-
Methods inherited from interface org.eclipse.collections.api.ShortIterable
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.ShortSet
isProperSubsetOf, isSubsetOf
-
-
-
-
Method Detail
-
getOuter
protected MutableShortKeysMap getOuter()
- Specified by:
getOuterin classAbstractMutableShortKeySet
-
getSentinelValues
protected AbstractMutableDoubleValuesMap.SentinelValues getSentinelValues()
- Specified by:
getSentinelValuesin classAbstractMutableShortKeySet
-
getKeyAtIndex
protected short getKeyAtIndex(int index)
- Specified by:
getKeyAtIndexin classAbstractMutableShortKeySet
-
getTableSize
protected int getTableSize()
- Specified by:
getTableSizein classAbstractMutableShortKeySet
-
shortIterator
public MutableShortIterator shortIterator()
Description copied from interface:ShortIterableReturns a primitive iterator that can be used to iterate over the ShortIterable in an imperative style.
-
retainAll
public boolean retainAll(ShortIterable source)
- See Also:
Collection.retainAll(Collection)
-
retainAll
public boolean retainAll(short... source)
- See Also:
Collection.retainAll(Collection)
-
freeze
public ShortSet freeze()
Description copied from interface:MutableShortSetReturns a frozen copy of this set. A frozen copy is the same thing as an immutable copy without safe-publish guarantees.
-
newEmpty
public MutableShortSet newEmpty()
Description copied from interface:MutableShortSetCreates a new empty mutable version of the same Set type.- Since:
- 9.2.
-
-