| 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 float | |
| private static final int | |
| private static final int | |
| private final float[] | |
| private final int | |
| private static final float | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | ImmutableFloatMapKeySet(float[] keys, int occupiedWithData, boolean containsZeroKey, boolean containsOneKey)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | allSatisfy(FloatPredicate predicate)
Implements org. Returns true if all of the elements in the FloatIterable return true for the specified predicate, otherwise returns false. |
| public boolean | anySatisfy(FloatPredicate predicate)
Implements org. Returns true if any of the elements in the FloatIterable 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 <V> ImmutableSet | collect(FloatToObjectFunction<? 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(float value)
Implements org. Returns true if the value is contained in the FloatIterable, and false if it is not. |
| public int | count(FloatPredicate predicate)
Implements org. Returns a count of the number of elements in the FloatIterable that return true for the specified predicate. |
| public float | detectIfNone(FloatPredicate predicate, float ifNone)
Implements org.
|
| public void | each(FloatProcedure procedure)
Implements org. A synonym for forEach. |
| public FloatIterator | floatIterator()
Implements org. Returns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style. |
| public void | forEach(FloatProcedure procedure)
Overrides default org. Applies the FloatProcedure to each element in the FloatIterable. |
| public int | hashCode()
Implements abstract org. Implements org. Follows the same general contract as |
| public <T> T | injectInto(T injectedValue, ObjectFloatToObjectFunction<? super T, ? extends T> function)
Implements org.
|
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private int | |
| public float | |
| public float | |
| public boolean | noneSatisfy(FloatPredicate predicate)
Overrides default org. Returns true if none of the elements in the FloatIterable return true for the specified predicate, otherwise returns false. |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| public ImmutableFloatSet | reject(FloatPredicate predicate)
Implements org. Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate. |
| public ImmutableFloatSet | select(FloatPredicate predicate)
Implements org. Returns a new FloatIterable with all of the elements in the FloatIterable 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 double | |
| public float[] | toArray()
Implements org. Converts the FloatIterable to a primitive float array. |
| public float[] | toArray(float[] array)
Overrides default org. Converts the FloatIterable to a primitive float 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 float 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 | |
| keys | back to summary |
|---|---|
| private final float[] keys | |
| occupiedWithData | back to summary |
|---|---|
| private final int occupiedWithData | |
| REMOVED_KEY | back to summary |
|---|---|
| private static final float REMOVED_KEY | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ImmutableFloatMapKeySet | back to summary |
|---|---|
| pack-priv ImmutableFloatMapKeySet(float[] keys, int occupiedWithData, boolean containsZeroKey, boolean containsOneKey) | |
| allSatisfy | back to summary |
|---|---|
| public boolean allSatisfy(FloatPredicate predicate) Implements org. Doc from org. Returns true if all of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.
| |
| anySatisfy | back to summary |
|---|---|
| public boolean anySatisfy(FloatPredicate predicate) Implements org. Doc from org. Returns true if any of the elements in the FloatIterable 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
| |
| 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(float value) Implements org. Doc from org. Returns true if the value is contained in the FloatIterable, and false if it is not.
| |
| count | back to summary |
|---|---|
| public int count(FloatPredicate predicate) Implements org. Doc from org. Returns a count of the number of elements in the FloatIterable that return true for the specified predicate.
| |
| detectIfNone | back to summary |
|---|---|
| public float detectIfNone(FloatPredicate predicate, float ifNone) Implements org.
| |
| each | back to summary |
|---|---|
| public void each(FloatProcedure procedure) Implements org. Doc from org. A synonym for forEach.
| |
| floatIterator | back to summary |
|---|---|
| public FloatIterator floatIterator() Implements org. Doc from org. Returns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style.
| |
| forEach | back to summary |
|---|---|
| public void forEach(FloatProcedure procedure) Overrides default org. Doc from org. Applies the FloatProcedure to each element in the FloatIterable.
| |
| 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, ObjectFloatToObjectFunction<? super T, ? extends T> function) Implements org.
| |
| isEmptyKey | back to summary |
|---|---|
| private static boolean isEmptyKey(float key) | |
| isNonSentinel | back to summary |
|---|---|
| private static boolean isNonSentinel(float key) | |
| isRemovedKey | back to summary |
|---|---|
| private static boolean isRemovedKey(float key) | |
| mask | back to summary |
|---|---|
| private int mask(int spread) | |
| max | back to summary |
|---|---|
| public float max() Implements org.
| |
| min | back to summary |
|---|---|
| public float min() Implements org.
| |
| noneSatisfy | back to summary |
|---|---|
| public boolean noneSatisfy(FloatPredicate predicate) Overrides default org. Doc from org. Returns true if none of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.
| |
| probe | back to summary |
|---|---|
| pack-priv int probe(float element) | |
| probeThree | back to summary |
|---|---|
| pack-priv int probeThree(float element, int removedIndex) | |
| probeTwo | back to summary |
|---|---|
| pack-priv int probeTwo(float element, int removedIndex) | |
| reject | back to summary |
|---|---|
| public ImmutableFloatSet reject(FloatPredicate predicate) Implements org. Doc from org. Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public ImmutableFloatSet select(FloatPredicate predicate) Implements org. Doc from org. Returns a new FloatIterable with all of the elements in the FloatIterable 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(float element) | |
| spreadTwoAndMask | back to summary |
|---|---|
| pack-priv int spreadTwoAndMask(float element) | |
| sum | back to summary |
|---|---|
| public double sum() Implements org.
| |
| toArray | back to summary |
|---|---|
| public float[] toArray() Implements org. Doc from org. Converts the FloatIterable to a primitive float array.
| |
| toArray | back to summary |
|---|---|
| public float[] toArray(float[] array) Overrides default org. Doc from org. Converts the FloatIterable to a primitive float 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 float |
| 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 | |
| InternalFloatIterator | back to summary |
|---|---|
| private InternalFloatIterator() | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements org.
| |
| next | back to summary |
|---|---|
| public float next() Implements org.
| |