public class SelectDoubleIterable extends AbstractLazyDoubleIterable
Constructor and Description |
---|
SelectDoubleIterable(DoubleIterable delegate,
DoublePredicate predicate) |
Modifier and Type | Method and Description |
---|---|
boolean |
allSatisfy(DoublePredicate predicate) |
boolean |
anySatisfy(DoublePredicate predicate) |
boolean |
containsAll(double... source) |
boolean |
containsAll(DoubleIterable source) |
int |
count(DoublePredicate predicate) |
DoubleIterator |
doubleIterator() |
void |
each(DoubleProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
boolean |
noneSatisfy(DoublePredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
double[] |
toArray() |
MutableDoubleBag |
toBag() |
MutableDoubleList |
toList() |
MutableDoubleSet |
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
summaryStatistics
public SelectDoubleIterable(DoubleIterable delegate, DoublePredicate predicate)
public DoubleIterator doubleIterator()
public void each(DoubleProcedure procedure)
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
size
in class AbstractLazyDoubleIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
isEmpty
in class AbstractLazyDoubleIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
notEmpty
in class AbstractLazyDoubleIterable
public int count(DoublePredicate predicate)
count
in interface DoubleIterable
count
in class AbstractLazyDoubleIterable
public boolean anySatisfy(DoublePredicate predicate)
anySatisfy
in interface DoubleIterable
anySatisfy
in class AbstractLazyDoubleIterable
public boolean allSatisfy(DoublePredicate predicate)
allSatisfy
in interface DoubleIterable
allSatisfy
in class AbstractLazyDoubleIterable
public boolean noneSatisfy(DoublePredicate predicate)
noneSatisfy
in interface DoubleIterable
noneSatisfy
in class AbstractLazyDoubleIterable
public double[] toArray()
toArray
in interface DoubleIterable
toArray
in class AbstractLazyDoubleIterable
public boolean containsAll(double... source)
containsAll
in interface DoubleIterable
containsAll
in class AbstractLazyDoubleIterable
public boolean containsAll(DoubleIterable source)
containsAll
in interface DoubleIterable
containsAll
in class AbstractLazyDoubleIterable
public MutableDoubleList toList()
toList
in interface DoubleIterable
toList
in class AbstractLazyDoubleIterable
public MutableDoubleSet toSet()
toSet
in interface DoubleIterable
toSet
in class AbstractLazyDoubleIterable
public MutableDoubleBag toBag()
toBag
in interface DoubleIterable
toBag
in class AbstractLazyDoubleIterable
Copyright © 2004–2016. All rights reserved.