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