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