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>
- Since:
- 3.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfreeze()Returns a frozen copy of this set.protected shortgetKeyAtIndex(int index) protected MutableShortKeysMapgetOuter()protected ShortObjectHashMap.SentinelValuesprotected intnewEmpty()Creates a new empty mutable version of the same Set type.booleanretainAll(short... source) booleanretainAll(ShortIterable source) Returns a primitive iterator that can be used to iterate over the ShortIterable in an imperative style.Methods inherited from class 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, writeReplaceMethods inherited from interface MutableShortCollection
removeIfMethods inherited from interface MutableShortSet
difference, intersect, symmetricDifference, tap, unionMethods inherited from interface 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, toSortedListByMethods inherited from interface ShortSet
isProperSubsetOf, isSubsetOf
-
Field Details
-
outer
-
-
Constructor Details
-
KeySet
private KeySet()
-
-
Method Details
-
getOuter
- Specified by:
getOuterin classAbstractMutableShortKeySet
-
getSentinelValues
- Specified by:
getSentinelValuesin classAbstractMutableShortKeySet
-
getKeyAtIndex
protected short getKeyAtIndex(int index) - Specified by:
getKeyAtIndexin classAbstractMutableShortKeySet
-
getTableSize
protected int getTableSize()- Specified by:
getTableSizein classAbstractMutableShortKeySet
-
shortIterator
Description copied from interface:ShortIterableReturns 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:MutableShortSetReturns 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:MutableShortSetCreates a new empty mutable version of the same Set type.- Since:
- 9.2.
-