Class CharBooleanHashMap.KeySet
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableCharKeySet
-
- org.eclipse.collections.impl.map.mutable.primitive.CharBooleanHashMap.KeySet
-
- All Implemented Interfaces:
java.io.Externalizable,java.io.Serializable,CharIterable,MutableCharCollection,PrimitiveIterable,CharSet,MutableCharSet
- Enclosing class:
- CharBooleanHashMap
private class CharBooleanHashMap.KeySet extends AbstractMutableCharKeySet
-
-
Constructor Summary
Constructors Modifier Constructor Description privateKeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableCharIteratorcharIterator()Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.CharSetfreeze()Returns a frozen copy of this set.protected chargetKeyAtIndex(int index)protected MutableCharKeysMapgetOuter()protected AbstractMutableBooleanValuesMap.SentinelValuesgetSentinelValues()protected intgetTableSize()MutableCharSetnewEmpty()Creates a new empty mutable version of the same Set type.booleanretainAll(char... source)booleanretainAll(CharIterable source)-
Methods inherited from class org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableCharKeySet
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.CharIterable
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.CharSet
isProperSubsetOf, isSubsetOf
-
Methods inherited from interface org.eclipse.collections.api.collection.primitive.MutableCharCollection
removeIf
-
Methods inherited from interface org.eclipse.collections.api.set.primitive.MutableCharSet
difference, intersect, symmetricDifference, tap, union
-
-
-
-
Method Detail
-
getKeyAtIndex
protected char getKeyAtIndex(int index)
- Specified by:
getKeyAtIndexin classAbstractMutableCharKeySet
-
getTableSize
protected int getTableSize()
- Specified by:
getTableSizein classAbstractMutableCharKeySet
-
getOuter
protected MutableCharKeysMap getOuter()
- Specified by:
getOuterin classAbstractMutableCharKeySet
-
getSentinelValues
protected AbstractMutableBooleanValuesMap.SentinelValues getSentinelValues()
- Specified by:
getSentinelValuesin classAbstractMutableCharKeySet
-
charIterator
public MutableCharIterator charIterator()
Description copied from interface:CharIterableReturns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.
-
retainAll
public boolean retainAll(CharIterable source)
- See Also:
Collection.retainAll(Collection)
-
retainAll
public boolean retainAll(char... source)
- See Also:
Collection.retainAll(Collection)
-
freeze
public CharSet freeze()
Description copied from interface:MutableCharSetReturns a frozen copy of this set. A frozen copy is the same thing as an immutable copy without safe-publish guarantees.
-
newEmpty
public MutableCharSet newEmpty()
Description copied from interface:MutableCharSetCreates a new empty mutable version of the same Set type.- Since:
- 9.2.
-
-