public final class LazyDoubleIterate extends Object
Modifier and Type | Method | Description |
---|---|---|
static LazyDoubleIterable |
adapt(DoubleIterable iterable) |
Creates a deferred double iterable for the specified double iterable.
|
static <V> LazyIterable<V> |
collect(DoubleIterable iterable,
DoubleToObjectFunction<? extends V> function) |
Creates a deferred transforming double iterable for the specified double iterable.
|
static <V> LazyIterable<V> |
collectIf(DoubleIterable iterable,
DoublePredicate predicate,
DoubleToObjectFunction<? extends V> function) |
Creates a deferred filtering and transforming double iterable for the specified double iterable.
|
static LazyDoubleIterable |
empty() |
|
static <V> LazyIterable<V> |
flatCollect(DoubleIterable iterable,
DoubleToObjectFunction<? extends Iterable<V>> function) |
Creates a deferred transforming and flattening double iterable for the specified double iterable.
|
static LazyDoubleIterable |
select(DoubleIterable iterable,
DoublePredicate predicate) |
Creates a deferred filtering double iterable for the specified double iterable.
|
static LazyDoubleIterable |
tap(DoubleIterable iterable,
DoubleProcedure procedure) |
Creates a deferred tap iterable for the specified iterable.
|
public static LazyDoubleIterable adapt(DoubleIterable iterable)
public static LazyDoubleIterable select(DoubleIterable iterable, DoublePredicate predicate)
public static <V> LazyIterable<V> collect(DoubleIterable iterable, DoubleToObjectFunction<? extends V> function)
public static <V> LazyIterable<V> flatCollect(DoubleIterable iterable, DoubleToObjectFunction<? extends Iterable<V>> function)
public static <V> LazyIterable<V> collectIf(DoubleIterable iterable, DoublePredicate predicate, DoubleToObjectFunction<? extends V> function)
public static LazyDoubleIterable empty()
public static LazyDoubleIterable tap(DoubleIterable iterable, DoubleProcedure procedure)
Copyright © 2004–2019. All rights reserved.