Class LongCharHashMap.KeySet
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableLongKeySet
-
- org.eclipse.collections.impl.map.mutable.primitive.LongCharHashMap.KeySet
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
,MutableLongCollection
,LongIterable
,PrimitiveIterable
,LongSet
,MutableLongSet
- Enclosing class:
- LongCharHashMap
private class LongCharHashMap.KeySet extends AbstractMutableLongKeySet
-
-
Constructor Summary
Constructors Modifier Constructor Description private
KeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongSet
freeze()
Returns a frozen copy of this set.protected long
getKeyAtIndex(int index)
protected MutableLongKeysMap
getOuter()
protected AbstractMutableCharValuesMap.SentinelValues
getSentinelValues()
protected int
getTableSize()
MutableLongIterator
longIterator()
Returns a primitive iterator that can be used to iterate over the LongIterable in an imperative style.MutableLongSet
newEmpty()
Creates a new empty mutable version of the same Set type.boolean
retainAll(long... source)
boolean
retainAll(LongIterable source)
-
Methods inherited from class org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableLongKeySet
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.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, toSortedListBy
-
Methods inherited from interface org.eclipse.collections.api.set.primitive.LongSet
isProperSubsetOf, isSubsetOf
-
Methods inherited from interface org.eclipse.collections.api.collection.primitive.MutableLongCollection
removeIf
-
Methods inherited from interface org.eclipse.collections.api.set.primitive.MutableLongSet
difference, intersect, symmetricDifference, tap, union
-
-
-
-
Method Detail
-
getOuter
protected MutableLongKeysMap getOuter()
- Specified by:
getOuter
in classAbstractMutableLongKeySet
-
getSentinelValues
protected AbstractMutableCharValuesMap.SentinelValues getSentinelValues()
- Specified by:
getSentinelValues
in classAbstractMutableLongKeySet
-
getKeyAtIndex
protected long getKeyAtIndex(int index)
- Specified by:
getKeyAtIndex
in classAbstractMutableLongKeySet
-
getTableSize
protected int getTableSize()
- Specified by:
getTableSize
in classAbstractMutableLongKeySet
-
longIterator
public MutableLongIterator longIterator()
Description copied from interface:LongIterable
Returns a primitive iterator that can be used to iterate over the LongIterable in an imperative style.
-
retainAll
public boolean retainAll(LongIterable source)
- See Also:
Collection.retainAll(Collection)
-
retainAll
public boolean retainAll(long... source)
- See Also:
Collection.retainAll(Collection)
-
freeze
public LongSet freeze()
Description copied from interface:MutableLongSet
Returns a frozen copy of this set. A frozen copy is the same thing as an immutable copy without safe-publish guarantees.
-
newEmpty
public MutableLongSet newEmpty()
Description copied from interface:MutableLongSet
Creates a new empty mutable version of the same Set type.- Since:
- 9.2.
-
-