| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ShortIterable | |
| private final ShortPredicate |
| Access | Constructor and Description |
|---|---|
| public |
| delegate | back to summary |
|---|---|
| private final ShortIterable delegate | |
| predicate | back to summary |
|---|---|
| private final ShortPredicate predicate | |
| SelectShortIterable | back to summary |
|---|---|
| public SelectShortIterable(ShortIterable delegate, ShortPredicate predicate) | |
| allSatisfy | back to summary |
|---|---|
| public boolean allSatisfy(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(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(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.
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final ShortPredicate | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | value(short each)
Implements org.
|
| counter | back to summary |
|---|---|
| private int counter | |
| predicate | back to summary |
|---|---|
| private final ShortPredicate predicate | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CountShortProcedure | back to summary |
|---|---|
| private CountShortProcedure(ShortPredicate predicate) | |
| getCount | back to summary |
|---|---|
| public int getCount() | |
| value | back to summary |
|---|---|
| public void value(short each) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ShortProcedure | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | value(short each)
Implements org.
|
| procedure | back to summary |
|---|---|
| private final ShortProcedure procedure | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| IfShortProcedure | back to summary |
|---|---|
| private IfShortProcedure(ShortProcedure procedure) | |
| value | back to summary |
|---|---|
| public void value(short each) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ShortIterator | |
| private short | |
| private final ShortPredicate | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public short |
| iterator | back to summary |
|---|---|
| private final ShortIterator iterator | |
| next | back to summary |
|---|---|
| private short next | |
| predicate | back to summary |
|---|---|
| private final ShortPredicate predicate | |
| verifiedHasNext | back to summary |
|---|---|
| private boolean verifiedHasNext | |
| SelectShortIterator | back to summary |
|---|---|
| private SelectShortIterator(ShortIterable iterable, ShortPredicate predicate) | |
| SelectShortIterator | back to summary |
|---|---|
| private SelectShortIterator(ShortIterator iterator, ShortPredicate predicate) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements org.
| |
| next | back to summary |
|---|---|
| public short next() Implements org.
| |