| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final LongFunction | |
| private final LazyIterable | |
| private final CollectLongIterable. |
| Access | Constructor and Description |
|---|---|
| public |
| function | back to summary |
|---|---|
| private final LongFunction<? super T> function | |
| iterable | back to summary |
|---|---|
| private final LazyIterable<T> iterable | |
| longFunctionToProcedure | back to summary |
|---|---|
| private final CollectLongIterable. | |
| CollectLongIterable | back to summary |
|---|---|
| public CollectLongIterable(LazyIterable<T> adapted, LongFunction<? super T> function) | |
| allSatisfy | back to summary |
|---|---|
| public boolean allSatisfy(final LongPredicate predicate) Overrides org. 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(final LongPredicate predicate) Overrides org. Implements org. Doc from org. Returns true if any of the elements in the LongIterable return true for the specified predicate, otherwise returns false.
| |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(long... source) Overrides org. Overrides default org. Doc from org. Returns true if all of the values specified in the source array are contained in the LongIterable, and false if they are not.
| |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(LongIterable source) Overrides org. Overrides default org. Doc from org. Returns true if all of the values specified in the source LongIterable are contained in the LongIterable, and false if they are not.
| |
| count | back to summary |
|---|---|
| public int count(final LongPredicate predicate) Overrides org. Implements org. Doc from org. Returns a count of the number of elements in the LongIterable that return true for the specified predicate.
| |
| each | back to summary |
|---|---|
| public void each(LongProcedure procedure) Implements org. Doc from org. A synonym for forEach.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides org. Overrides default org. Doc from org. Returns true if this iterable has zero items.
| |
| 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.
| |
| notEmpty | back to summary |
|---|---|
| public boolean notEmpty() Overrides org. Overrides default org. Doc from org. The English equivalent of !this.isEmpty()
| |
| size | back to summary |
|---|---|
| public int size() Overrides org. Implements org. Doc from org. Returns the number of items in this iterable.
| |
| toArray | back to summary |
|---|---|
| public long[] toArray() Overrides org. Implements org. Doc from org. Converts the LongIterable to a primitive long array.
| |
| toBag | back to summary |
|---|---|
| public MutableLongBag toBag() Overrides org. Implements org. Doc from org. Converts the LongIterable to a new MutableLongBag.
| |
| toList | back to summary |
|---|---|
| public MutableLongList toList() Overrides org. Implements org. Doc from org. Converts the LongIterable to a new MutableLongList.
| |
| toSet | back to summary |
|---|---|
| public MutableLongSet toSet() Overrides org. Implements org. Doc from org. Converts the LongIterable to a new MutableLongSet.
| |
| toSortedArray | back to summary |
|---|---|
| public long[] toSortedArray() Overrides org. Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final LongFunction | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | value(T each, LongProcedure procedure)
Implements org.
|
| function | back to summary |
|---|---|
| private final LongFunction<? super T> function | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| LongFunctionToProcedure | back to summary |
|---|---|
| private LongFunctionToProcedure(LongFunction<? super T> function) | |
| value | back to summary |
|---|---|
| public void value(T each, LongProcedure procedure) Implements org.
| |