Class ShortObjectHashMap.KeySet
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableShortKeySet
org.eclipse.collections.impl.map.mutable.primitive.ShortObjectHashMap.KeySet
- All Implemented Interfaces:
Externalizable
,Serializable
,MutableShortCollection
,PrimitiveIterable
,MutableShortSet
,ShortSet
,ShortIterable
- Enclosing class:
ShortObjectHashMap<V>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfreeze()
Returns a frozen copy of this set.protected short
getKeyAtIndex
(int index) protected MutableShortKeysMap
getOuter()
protected ShortObjectHashMap.SentinelValues
protected int
newEmpty()
Creates a new empty mutable version of the same Set type.boolean
retainAll
(short... source) boolean
retainAll
(ShortIterable source) 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, 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
-
Field Details
-
outer
-
-
Constructor Details
-
KeySet
private KeySet()
-
-
Method Details
-
getOuter
- Specified by:
getOuter
in classAbstractMutableShortKeySet
-
getSentinelValues
- Specified by:
getSentinelValues
in classAbstractMutableShortKeySet
-
getKeyAtIndex
protected short getKeyAtIndex(int index) - Specified by:
getKeyAtIndex
in classAbstractMutableShortKeySet
-
getTableSize
protected int getTableSize()- Specified by:
getTableSize
in classAbstractMutableShortKeySet
-
shortIterator
Description copied from interface:ShortIterable
Returns a primitive iterator that can be used to iterate over the ShortIterable in an imperative style. -
retainAll
- See Also:
-
retainAll
public boolean retainAll(short... source) - See Also:
-
freeze
Description copied from interface:MutableShortSet
Returns a frozen copy of this set. A frozen copy is the same thing as an immutable copy without safe-publish guarantees. -
newEmpty
Description copied from interface:MutableShortSet
Creates a new empty mutable version of the same Set type.- Since:
- 9.2.
-