Class IntObjectHashMap.KeySet
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableIntKeySet
-
- org.eclipse.collections.impl.map.mutable.primitive.IntObjectHashMap.KeySet
-
- All Implemented Interfaces:
java.io.Externalizable,java.io.Serializable,MutableIntCollection,IntIterable,PrimitiveIterable,IntSet,MutableIntSet
- Enclosing class:
- IntObjectHashMap<V>
private class IntObjectHashMap.KeySet extends AbstractMutableIntKeySet
-
-
Field Summary
Fields Modifier and Type Field Description private IntObjectHashMap.KeysMapWrapperouter
-
Constructor Summary
Constructors Modifier Constructor Description privateKeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntSetfreeze()Returns a frozen copy of this set.protected intgetKeyAtIndex(int index)protected MutableIntKeysMapgetOuter()protected IntObjectHashMap.SentinelValuesgetSentinelValues()protected intgetTableSize()MutableIntIteratorintIterator()Returns a primitive iterator that can be used to iterate over the IntIterable in an imperative style.MutableIntSetnewEmpty()Creates a new empty mutable version of the same Set type.booleanretainAll(int... source)booleanretainAll(IntIterable source)-
Methods inherited from class org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableIntKeySet
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.IntIterable
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.IntSet
isProperSubsetOf, isSubsetOf
-
Methods inherited from interface org.eclipse.collections.api.collection.primitive.MutableIntCollection
removeIf
-
Methods inherited from interface org.eclipse.collections.api.set.primitive.MutableIntSet
difference, intersect, symmetricDifference, tap, union
-
-
-
-
Field Detail
-
outer
private IntObjectHashMap.KeysMapWrapper outer
-
-
Method Detail
-
getOuter
protected MutableIntKeysMap getOuter()
- Specified by:
getOuterin classAbstractMutableIntKeySet
-
getSentinelValues
protected IntObjectHashMap.SentinelValues getSentinelValues()
- Specified by:
getSentinelValuesin classAbstractMutableIntKeySet
-
getKeyAtIndex
protected int getKeyAtIndex(int index)
- Specified by:
getKeyAtIndexin classAbstractMutableIntKeySet
-
getTableSize
protected int getTableSize()
- Specified by:
getTableSizein classAbstractMutableIntKeySet
-
intIterator
public MutableIntIterator intIterator()
Description copied from interface:IntIterableReturns a primitive iterator that can be used to iterate over the IntIterable in an imperative style.
-
retainAll
public boolean retainAll(IntIterable source)
- See Also:
Collection.retainAll(Collection)
-
retainAll
public boolean retainAll(int... source)
- See Also:
Collection.retainAll(Collection)
-
freeze
public IntSet freeze()
Description copied from interface:MutableIntSetReturns a frozen copy of this set. A frozen copy is the same thing as an immutable copy without safe-publish guarantees.
-
newEmpty
public MutableIntSet newEmpty()
Description copied from interface:MutableIntSetCreates a new empty mutable version of the same Set type.- Since:
- 9.2.
-
-