| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final IntFunction | |
| private final CollectIntIterable. | |
| private final LazyIterable |
| Access | Constructor and Description |
|---|---|
| public |
| function | back to summary |
|---|---|
| private final IntFunction<? super T> function | |
| intFunctionToProcedure | back to summary |
|---|---|
| private final CollectIntIterable. | |
| iterable | back to summary |
|---|---|
| private final LazyIterable<T> iterable | |
| CollectIntIterable | back to summary |
|---|---|
| public CollectIntIterable(LazyIterable<T> adapted, IntFunction<? super T> function) | |
| allSatisfy | back to summary |
|---|---|
| public boolean allSatisfy(final IntPredicate predicate) Overrides org. Implements org. Doc from org. Returns true if all of the elements in the IntIterable return true for the specified predicate, otherwise returns false.
| |
| anySatisfy | back to summary |
|---|---|
| public boolean anySatisfy(final IntPredicate predicate) Overrides org. Implements org. Doc from org. Returns true if any of the elements in the IntIterable return true for the specified predicate, otherwise returns false.
| |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(int... 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 IntIterable, and false if they are not.
| |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(IntIterable source) Overrides org. Overrides default org. Doc from org. Returns true if all of the values specified in the source IntIterable are contained in the IntIterable, and false if they are not.
| |
| count | back to summary |
|---|---|
| public int count(final IntPredicate predicate) Overrides org. Implements org. Doc from org. Returns a count of the number of elements in the IntIterable that return true for the specified predicate.
| |
| each | back to summary |
|---|---|
| public void each(IntProcedure procedure) Implements org. Doc from org. A synonym for forEach.
| |
| intIterator | back to summary |
|---|---|
| public IntIterator intIterator() Implements org. Doc from org. Returns a primitive iterator that can be used to iterate over the IntIterable in an imperative style.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides org. Overrides default org. Doc from org. Returns true if this iterable has zero items.
| |
| 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 int[] toArray() Overrides org. Implements org. Doc from org. Converts the IntIterable to a primitive int array.
| |
| toBag | back to summary |
|---|---|
| public MutableIntBag toBag() Overrides org. Implements org. Doc from org. Converts the IntIterable to a new MutableIntBag.
| |
| toList | back to summary |
|---|---|
| public MutableIntList toList() Overrides org. Implements org. Doc from org. Converts the IntIterable to a new MutableIntList.
| |
| toSet | back to summary |
|---|---|
| public MutableIntSet toSet() Overrides org. Implements org. Doc from org. Converts the IntIterable to a new MutableIntSet.
| |
| toSortedArray | back to summary |
|---|---|
| public int[] toSortedArray() Overrides org. Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final IntFunction | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | value(T each, IntProcedure procedure)
Implements org.
|
| function | back to summary |
|---|---|
| private final IntFunction<? super T> function | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| IntFunctionToProcedure | back to summary |
|---|---|
| private IntFunctionToProcedure(IntFunction<? super T> function) | |
| value | back to summary |
|---|---|
| public void value(T each, IntProcedure procedure) Implements org.
| |