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