public class SelectShortIterable extends AbstractLazyShortIterable
Constructor and Description |
---|
SelectShortIterable(ShortIterable delegate,
ShortPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
boolean |
allSatisfy(ShortPredicate predicate) |
boolean |
anySatisfy(ShortPredicate predicate) |
boolean |
containsAll(short... source) |
boolean |
containsAll(ShortIterable source) |
int |
count(ShortPredicate predicate) |
void |
each(ShortProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
boolean |
noneSatisfy(ShortPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
ShortIterator |
shortIterator() |
int |
size()
Returns the number of items in this iterable.
|
short[] |
toArray() |
MutableShortBag |
toBag() |
MutableShortList |
toList() |
MutableShortSet |
toSet() |
appendString, appendString, appendString, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, forEach, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, reject, select, sum, toSortedArray, toSortedList, toString
public SelectShortIterable(ShortIterable delegate, ShortPredicate predicate)
public ShortIterator shortIterator()
public void each(ShortProcedure procedure)
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
size
in class AbstractLazyShortIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
isEmpty
in class AbstractLazyShortIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
notEmpty
in class AbstractLazyShortIterable
public int count(ShortPredicate predicate)
count
in interface ShortIterable
count
in class AbstractLazyShortIterable
public boolean anySatisfy(ShortPredicate predicate)
anySatisfy
in interface ShortIterable
anySatisfy
in class AbstractLazyShortIterable
public boolean allSatisfy(ShortPredicate predicate)
allSatisfy
in interface ShortIterable
allSatisfy
in class AbstractLazyShortIterable
public boolean noneSatisfy(ShortPredicate predicate)
noneSatisfy
in interface ShortIterable
noneSatisfy
in class AbstractLazyShortIterable
public short[] toArray()
toArray
in interface ShortIterable
toArray
in class AbstractLazyShortIterable
public boolean containsAll(short... source)
containsAll
in interface ShortIterable
containsAll
in class AbstractLazyShortIterable
public boolean containsAll(ShortIterable source)
containsAll
in interface ShortIterable
containsAll
in class AbstractLazyShortIterable
public MutableShortList toList()
toList
in interface ShortIterable
toList
in class AbstractLazyShortIterable
public MutableShortSet toSet()
toSet
in interface ShortIterable
toSet
in class AbstractLazyShortIterable
public MutableShortBag toBag()
toBag
in interface ShortIterable
toBag
in class AbstractLazyShortIterable
Copyright © 2004–2016. All rights reserved.