LazyShortIterable
, PrimitiveIterable
, ShortIterable
public class TapShortIterable extends AbstractLazyShortIterable
Modifier and Type | Class | Description |
---|---|---|
static class |
TapShortIterable.TapShortIterator |
Constructor | Description |
---|---|
TapShortIterable(ShortIterable delegate,
ShortProcedure procedure) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
allSatisfy(ShortPredicate predicate) |
Returns true if all of the elements in the ShortIterable return true for the
specified predicate, otherwise returns false.
|
boolean |
anySatisfy(ShortPredicate predicate) |
Returns true if any of the elements in the ShortIterable return true for the
specified predicate, otherwise returns false.
|
short |
detectIfNone(ShortPredicate predicate,
short ifNone) |
|
void |
each(ShortProcedure procedure) |
A synonym for forEach.
|
boolean |
noneSatisfy(ShortPredicate predicate) |
Returns true if none of the elements in the ShortIterable return true for the
specified predicate, otherwise returns false.
|
ShortIterator |
shortIterator() |
Returns a primitive iterator that can be used to iterate over the ShortIterable in an
imperative style.
|
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, flatCollect, forEach, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, notEmpty, reject, select, size, sum, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, medianIfEmpty, reject, select, summaryStatistics
public TapShortIterable(ShortIterable delegate, ShortProcedure procedure)
public void each(ShortProcedure procedure)
ShortIterable
public boolean anySatisfy(ShortPredicate predicate)
ShortIterable
anySatisfy
in interface ShortIterable
anySatisfy
in class AbstractLazyShortIterable
public boolean allSatisfy(ShortPredicate predicate)
ShortIterable
allSatisfy
in interface ShortIterable
allSatisfy
in class AbstractLazyShortIterable
public boolean noneSatisfy(ShortPredicate predicate)
ShortIterable
noneSatisfy
in interface ShortIterable
noneSatisfy
in class AbstractLazyShortIterable
public short detectIfNone(ShortPredicate predicate, short ifNone)
detectIfNone
in interface ShortIterable
detectIfNone
in class AbstractLazyShortIterable
public ShortIterator shortIterator()
ShortIterable
Copyright © 2004–2018. All rights reserved.