public class SelectLongIterable extends AbstractLazyLongIterable
| Constructor and Description |
|---|
SelectLongIterable(LongIterable delegate,
LongPredicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(LongPredicate predicate) |
boolean |
anySatisfy(LongPredicate predicate) |
boolean |
containsAll(long... source) |
boolean |
containsAll(LongIterable source) |
int |
count(LongPredicate predicate) |
void |
each(LongProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
LongIterator |
longIterator() |
boolean |
noneSatisfy(LongPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
long[] |
toArray() |
MutableLongBag |
toBag() |
MutableLongList |
toList() |
MutableLongSet |
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, toStringpublic SelectLongIterable(LongIterable delegate, LongPredicate predicate)
public LongIterator longIterator()
public void each(LongProcedure procedure)
public int size()
PrimitiveIterablesize in interface PrimitiveIterablesize in class AbstractLazyLongIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyLongIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyLongIterablepublic int count(LongPredicate predicate)
count in interface LongIterablecount in class AbstractLazyLongIterablepublic boolean anySatisfy(LongPredicate predicate)
anySatisfy in interface LongIterableanySatisfy in class AbstractLazyLongIterablepublic boolean allSatisfy(LongPredicate predicate)
allSatisfy in interface LongIterableallSatisfy in class AbstractLazyLongIterablepublic boolean noneSatisfy(LongPredicate predicate)
noneSatisfy in interface LongIterablenoneSatisfy in class AbstractLazyLongIterablepublic long[] toArray()
toArray in interface LongIterabletoArray in class AbstractLazyLongIterablepublic boolean containsAll(long... source)
containsAll in interface LongIterablecontainsAll in class AbstractLazyLongIterablepublic boolean containsAll(LongIterable source)
containsAll in interface LongIterablecontainsAll in class AbstractLazyLongIterablepublic MutableLongList toList()
toList in interface LongIterabletoList in class AbstractLazyLongIterablepublic MutableLongSet toSet()
toSet in interface LongIterabletoSet in class AbstractLazyLongIterablepublic MutableLongBag toBag()
toBag in interface LongIterabletoBag in class AbstractLazyLongIterableCopyright © 2004–2016. All rights reserved.