| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final boolean | |
| private final boolean | |
| private static final char | |
| private static final int | |
| private static final int | |
| private final char[] | |
| private final int | |
| private static final char | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | ImmutableCharCharMapKeySet(char[] keysValues, int occupiedWithData, boolean containsZeroKey, boolean containsOneKey)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | allSatisfy(CharPredicate predicate)
Implements org. Returns true if all of the elements in the CharIterable return true for the specified predicate, otherwise returns false. |
| public boolean | anySatisfy(CharPredicate predicate)
Implements org. Returns true if any of the elements in the CharIterable return true for the specified predicate, otherwise returns false. |
| public void | appendString(Appendable appendable, String start, String separator, String end)
Implements org. Prints a string representation of this collection onto the given |
| public CharIterator | charIterator()
Implements org. Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style. |
| public <V> ImmutableSet | collect(CharToObjectFunction<? extends V> function)
Implements org. Returns a new collection with the results of applying the specified function on each element of the source collection. |
| public boolean | contains(char value)
Implements org. Returns true if the value is contained in the CharIterable, and false if it is not. |
| public int | count(CharPredicate predicate)
Implements org. Returns a count of the number of elements in the CharIterable that return true for the specified predicate. |
| public char | detectIfNone(CharPredicate predicate, char ifNone)
Implements org.
|
| public void | each(CharProcedure procedure)
Implements org. A synonym for forEach. |
| public void | forEach(CharProcedure procedure)
Overrides default org. Applies the CharProcedure to each element in the CharIterable. |
| public int | hashCode()
Implements abstract org. Implements org. Follows the same general contract as |
| public <T> T | injectInto(T injectedValue, ObjectCharToObjectFunction<? super T, ? extends T> function)
Implements org.
|
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private int | |
| public char | |
| public char | |
| public boolean | noneSatisfy(CharPredicate predicate)
Overrides default org. Returns true if none of the elements in the CharIterable return true for the specified predicate, otherwise returns false. |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| public ImmutableCharSet | reject(CharPredicate predicate)
Implements org. Returns a new CharIterable with all of the elements in the CharIterable that return false for the specified predicate. |
| public ImmutableCharSet | select(CharPredicate predicate)
Implements org. Returns a new CharIterable with all of the elements in the CharIterable that return true for the specified predicate. |
| public int | size()
Implements org. Returns the number of items in this iterable. |
| pack-priv int | |
| pack-priv int | |
| public long | |
| public char[] | toArray()
Implements org. Converts the CharIterable to a primitive char array. |
| public char[] | toArray(char[] array)
Overrides default org. Converts the CharIterable to a primitive char array. |
| private Object |
| CACHE_LINE_SIZE | back to summary |
|---|---|
| private static final int CACHE_LINE_SIZE | |
| containsOneKey | back to summary |
|---|---|
| private final boolean containsOneKey | |
| containsZeroKey | back to summary |
|---|---|
| private final boolean containsZeroKey | |
| EMPTY_KEY | back to summary |
|---|---|
| private static final char EMPTY_KEY | |
| INITIAL_LINEAR_PROBE | back to summary |
|---|---|
| private static final int INITIAL_LINEAR_PROBE | |
| KEY_SIZE | back to summary |
|---|---|
| private static final int KEY_SIZE | |
| keysValues | back to summary |
|---|---|
| private final char[] keysValues | |
| occupiedWithData | back to summary |
|---|---|
| private final int occupiedWithData | |
| REMOVED_KEY | back to summary |
|---|---|
| private static final char REMOVED_KEY | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ImmutableCharCharMapKeySet | back to summary |
|---|---|
| pack-priv ImmutableCharCharMapKeySet(char[] keysValues, int occupiedWithData, boolean containsZeroKey, boolean containsOneKey) | |
| allSatisfy | back to summary |
|---|---|
| public boolean allSatisfy(CharPredicate predicate) Implements org. Doc from org. Returns true if all of the elements in the CharIterable return true for the specified predicate, otherwise returns false.
| |
| anySatisfy | back to summary |
|---|---|
| public boolean anySatisfy(CharPredicate predicate) Implements org. Doc from org. Returns true if any of the elements in the CharIterable return true for the specified predicate, otherwise returns false.
| |
| appendString | back to summary |
|---|---|
| public void appendString(Appendable appendable, String start, String separator, String end) Implements org. Doc from org. Prints a string representation of this collection onto the given
| |
| charIterator | back to summary |
|---|---|
| public CharIterator charIterator() Implements org. Doc from org. Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.
| |
| collect | back to summary |
|---|---|
| public <V> ImmutableSet Implements org. Doc from org. Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.
| |
| contains | back to summary |
|---|---|
| public boolean contains(char value) Implements org. Doc from org. Returns true if the value is contained in the CharIterable, and false if it is not.
| |
| count | back to summary |
|---|---|
| public int count(CharPredicate predicate) Implements org. Doc from org. Returns a count of the number of elements in the CharIterable that return true for the specified predicate.
| |
| detectIfNone | back to summary |
|---|---|
| public char detectIfNone(CharPredicate predicate, char ifNone) Implements org.
| |
| each | back to summary |
|---|---|
| public void each(CharProcedure procedure) Implements org. Doc from org. A synonym for forEach.
| |
| forEach | back to summary |
|---|---|
| public void forEach(CharProcedure procedure) Overrides default org. Doc from org. Applies the CharProcedure to each element in the CharIterable.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Implements org. Doc from org. Follows the same general contract as
| |
| injectInto | back to summary |
|---|---|
| public <T> T injectInto(T injectedValue, ObjectCharToObjectFunction<? super T, ? extends T> function) Implements org.
| |
| isEmptyKey | back to summary |
|---|---|
| private static boolean isEmptyKey(char key) | |
| isNonSentinel | back to summary |
|---|---|
| private static boolean isNonSentinel(char key) | |
| isRemovedKey | back to summary |
|---|---|
| private static boolean isRemovedKey(char key) | |
| mask | back to summary |
|---|---|
| private int mask(int spread) | |
| max | back to summary |
|---|---|
| public char max() Implements org.
| |
| min | back to summary |
|---|---|
| public char min() Implements org.
| |
| noneSatisfy | back to summary |
|---|---|
| public boolean noneSatisfy(CharPredicate predicate) Overrides default org. Doc from org. Returns true if none of the elements in the CharIterable return true for the specified predicate, otherwise returns false.
| |
| probe | back to summary |
|---|---|
| pack-priv int probe(char element) | |
| probeThree | back to summary |
|---|---|
| pack-priv int probeThree(char element, int removedIndex) | |
| probeTwo | back to summary |
|---|---|
| pack-priv int probeTwo(char element, int removedIndex) | |
| reject | back to summary |
|---|---|
| public ImmutableCharSet reject(CharPredicate predicate) Implements org. Doc from org. Returns a new CharIterable with all of the elements in the CharIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public ImmutableCharSet select(CharPredicate predicate) Implements org. Doc from org. Returns a new CharIterable with all of the elements in the CharIterable that return true for the specified predicate.
| |
| size | back to summary |
|---|---|
| public int size() Implements org. Doc from org. Returns the number of items in this iterable.
| |
| spreadAndMask | back to summary |
|---|---|
| pack-priv int spreadAndMask(char element) | |
| spreadTwoAndMask | back to summary |
|---|---|
| pack-priv int spreadTwoAndMask(char element) | |
| sum | back to summary |
|---|---|
| public long sum() Implements org.
| |
| toArray | back to summary |
|---|---|
| public char[] toArray() Implements org. Doc from org. Converts the CharIterable to a primitive char array.
| |
| toArray | back to summary |
|---|---|
| public char[] toArray(char[] array) Overrides default org. Doc from org. Converts the CharIterable to a primitive char array. If the collection fits into the provided array it is used to store its elements and is returned from the method, otherwise a new array of the appropriate size is allocated and returned. If the iterable is empty, the target array is returned unchanged.
| |
| writeReplace | back to summary |
|---|---|
| private Object writeReplace() | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private boolean | |
| private boolean | |
| private int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public char |
| count | back to summary |
|---|---|
| private int count | |
| handledOne | back to summary |
|---|---|
| private boolean handledOne | |
| handledZero | back to summary |
|---|---|
| private boolean handledZero | |
| position | back to summary |
|---|---|
| private int position | |
| InternalCharIterator | back to summary |
|---|---|
| private InternalCharIterator() | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements org.
| |
| next | back to summary |
|---|---|
| public char next() Implements org.
| |