| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ShortFunction | |
| private final LazyIterable | |
| private final CollectShortIterable. |
| Access | Constructor and Description |
|---|---|
| public |
| function | back to summary |
|---|---|
| private final ShortFunction<? super T> function | |
| iterable | back to summary |
|---|---|
| private final LazyIterable<T> iterable | |
| shortFunctionToProcedure | back to summary |
|---|---|
| private final CollectShortIterable. | |
| CollectShortIterable | back to summary |
|---|---|
| public CollectShortIterable(LazyIterable<T> adapted, ShortFunction<? super T> function) | |
| allSatisfy | back to summary |
|---|---|
| public boolean allSatisfy(final ShortPredicate predicate) Overrides org. Implements org. Doc from org. Returns true if all of the elements in the ShortIterable return true for the specified predicate, otherwise returns false.
| |
| anySatisfy | back to summary |
|---|---|
| public boolean anySatisfy(final ShortPredicate predicate) Overrides org. Implements org. Doc from org. Returns true if any of the elements in the ShortIterable return true for the specified predicate, otherwise returns false.
| |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(short... 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 ShortIterable, and false if they are not.
| |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(ShortIterable source) Overrides org. Overrides default org. Doc from org. Returns true if all of the values specified in the source ShortIterable are contained in the ShortIterable, and false if they are not.
| |
| count | back to summary |
|---|---|
| public int count(final ShortPredicate predicate) Overrides org. Implements org. Doc from org. Returns a count of the number of elements in the ShortIterable that return true for the specified predicate.
| |
| each | back to summary |
|---|---|
| public void each(ShortProcedure 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.
| |
| notEmpty | back to summary |
|---|---|
| public boolean notEmpty() Overrides org. Overrides default org. Doc from org. The English equivalent of !this.isEmpty()
| |
| shortIterator | back to summary |
|---|---|
| public ShortIterator shortIterator() Implements org. Doc from org. Returns a primitive iterator that can be used to iterate over the ShortIterable in an imperative style.
| |
| 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 short[] toArray() Overrides org. Implements org. Doc from org. Converts the ShortIterable to a primitive short array.
| |
| toBag | back to summary |
|---|---|
| public MutableShortBag toBag() Overrides org. Implements org. Doc from org. Converts the ShortIterable to a new MutableShortBag.
| |
| toList | back to summary |
|---|---|
| public MutableShortList toList() Overrides org. Implements org. Doc from org. Converts the ShortIterable to a new MutableShortList.
| |
| toSet | back to summary |
|---|---|
| public MutableShortSet toSet() Overrides org. Implements org. Doc from org. Converts the ShortIterable to a new MutableShortSet.
| |
| toSortedArray | back to summary |
|---|---|
| public short[] toSortedArray() Overrides org. Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ShortFunction | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | value(T each, ShortProcedure procedure)
Implements org.
|
| function | back to summary |
|---|---|
| private final ShortFunction<? super T> function | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ShortFunctionToProcedure | back to summary |
|---|---|
| private ShortFunctionToProcedure(ShortFunction<? super T> function) | |
| value | back to summary |
|---|---|
| public void value(T each, ShortProcedure procedure) Implements org.
| |