@Immutable public class CollectDoubleIterable<T> extends AbstractLazyDoubleIterable
| Constructor and Description |
|---|
CollectDoubleIterable(com.gs.collections.api.LazyIterable<T> adapted,
com.gs.collections.api.block.function.primitive.DoubleFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate) |
boolean |
anySatisfy(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate) |
boolean |
containsAll(double... source) |
boolean |
containsAll(com.gs.collections.api.DoubleIterable source) |
int |
count(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate) |
com.gs.collections.api.iterator.DoubleIterator |
doubleIterator() |
void |
forEach(com.gs.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
boolean |
noneSatisfy(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
double[] |
toArray() |
com.gs.collections.api.bag.primitive.MutableDoubleBag |
toBag() |
com.gs.collections.api.list.primitive.MutableDoubleList |
toList() |
com.gs.collections.api.set.primitive.MutableDoubleSet |
toSet() |
double[] |
toSortedArray() |
com.gs.collections.api.list.primitive.MutableDoubleList |
toSortedList() |
appendString, appendString, appendString, asLazy, average, collect, contains, detectIfNone, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, reject, select, sum, toStringpublic com.gs.collections.api.iterator.DoubleIterator doubleIterator()
public void forEach(com.gs.collections.api.block.procedure.primitive.DoubleProcedure procedure)
public int size()
com.gs.collections.api.PrimitiveIterablesize in interface com.gs.collections.api.PrimitiveIterablesize in class AbstractLazyDoubleIterablepublic boolean isEmpty()
com.gs.collections.api.PrimitiveIterableisEmpty in interface com.gs.collections.api.PrimitiveIterableisEmpty in class AbstractLazyDoubleIterablepublic boolean notEmpty()
com.gs.collections.api.PrimitiveIterablenotEmpty in interface com.gs.collections.api.PrimitiveIterablenotEmpty in class AbstractLazyDoubleIterablepublic int count(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate)
count in interface com.gs.collections.api.DoubleIterablecount in class AbstractLazyDoubleIterablepublic boolean anySatisfy(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate)
anySatisfy in interface com.gs.collections.api.DoubleIterableanySatisfy in class AbstractLazyDoubleIterablepublic boolean allSatisfy(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate)
allSatisfy in interface com.gs.collections.api.DoubleIterableallSatisfy in class AbstractLazyDoubleIterablepublic boolean noneSatisfy(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate)
noneSatisfy in interface com.gs.collections.api.DoubleIterablenoneSatisfy in class AbstractLazyDoubleIterablepublic double[] toArray()
toArray in interface com.gs.collections.api.DoubleIterabletoArray in class AbstractLazyDoubleIterablepublic double[] toSortedArray()
toSortedArray in interface com.gs.collections.api.DoubleIterabletoSortedArray in class AbstractLazyDoubleIterablepublic com.gs.collections.api.list.primitive.MutableDoubleList toList()
toList in interface com.gs.collections.api.DoubleIterabletoList in class AbstractLazyDoubleIterablepublic com.gs.collections.api.list.primitive.MutableDoubleList toSortedList()
toSortedList in interface com.gs.collections.api.DoubleIterabletoSortedList in class AbstractLazyDoubleIterablepublic com.gs.collections.api.set.primitive.MutableDoubleSet toSet()
toSet in interface com.gs.collections.api.DoubleIterabletoSet in class AbstractLazyDoubleIterablepublic com.gs.collections.api.bag.primitive.MutableDoubleBag toBag()
toBag in interface com.gs.collections.api.DoubleIterabletoBag in class AbstractLazyDoubleIterablepublic boolean containsAll(double... source)
containsAll in interface com.gs.collections.api.DoubleIterablecontainsAll in class AbstractLazyDoubleIterablepublic boolean containsAll(com.gs.collections.api.DoubleIterable source)
containsAll in interface com.gs.collections.api.DoubleIterablecontainsAll in class AbstractLazyDoubleIterable