Class LongObjectHashMap.KeySet
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableLongKeySet
org.eclipse.collections.impl.map.mutable.primitive.LongObjectHashMap.KeySet
- All Implemented Interfaces:
Externalizable, Serializable, MutableLongCollection, LongIterable, PrimitiveIterable, LongSet, MutableLongSet
- Enclosing class:
LongObjectHashMap<V>
- Since:
- 3.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfreeze()Returns a frozen copy of this set.protected longgetKeyAtIndex(int index) protected MutableLongKeysMapgetOuter()protected LongObjectHashMap.SentinelValuesprotected intReturns a primitive iterator that can be used to iterate over the LongIterable in an imperative style.newEmpty()Creates a new empty mutable version of the same Set type.booleanretainAll(long... source) booleanretainAll(LongIterable source) Methods inherited from class AbstractMutableLongKeySet
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 LongIterable
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 LongSet
isProperSubsetOf, isSubsetOfMethods inherited from interface MutableLongCollection
removeIfMethods inherited from interface MutableLongSet
difference, intersect, symmetricDifference, tap, union
-
Field Details
-
outer
-
-
Constructor Details
-
KeySet
private KeySet()
-
-
Method Details
-
getOuter
- Specified by:
getOuterin classAbstractMutableLongKeySet
-
getSentinelValues
- Specified by:
getSentinelValuesin classAbstractMutableLongKeySet
-
getKeyAtIndex
protected long getKeyAtIndex(int index) - Specified by:
getKeyAtIndexin classAbstractMutableLongKeySet
-
getTableSize
protected int getTableSize()- Specified by:
getTableSizein classAbstractMutableLongKeySet
-
longIterator
Description copied from interface:LongIterableReturns a primitive iterator that can be used to iterate over the LongIterable in an imperative style. -
retainAll
- See Also:
-
retainAll
public boolean retainAll(long... source) - See Also:
-
freeze
Description copied from interface:MutableLongSetReturns 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:MutableLongSetCreates a new empty mutable version of the same Set type.- Since:
- 9.2.
-