public final class LazyLongIterate extends Object
| Modifier and Type | Method and Description |
|---|---|
static LazyLongIterable |
adapt(LongIterable iterable)
Creates a deferred long iterable for the specified long iterable.
|
static <V> LazyIterable<V> |
collect(LongIterable iterable,
LongToObjectFunction<? extends V> function)
Creates a deferred transforming long iterable for the specified long iterable.
|
static <V> LazyIterable<V> |
collectIf(LongIterable iterable,
LongPredicate predicate,
LongToObjectFunction<? extends V> function)
Creates a deferred filtering and transforming long iterable for the specified long iterable.
|
static LazyLongIterable |
empty() |
static <V> LazyIterable<V> |
flatCollect(LongIterable iterable,
LongToObjectFunction<? extends Iterable<V>> function)
Creates a deferred transforming and flattening long iterable for the specified long iterable.
|
static LazyLongIterable |
select(LongIterable iterable,
LongPredicate predicate)
Creates a deferred filtering long iterable for the specified long iterable.
|
static LazyLongIterable |
tap(LongIterable iterable,
LongProcedure procedure)
Creates a deferred tap iterable for the specified iterable.
|
public static LazyLongIterable adapt(LongIterable iterable)
public static LazyLongIterable select(LongIterable iterable, LongPredicate predicate)
public static <V> LazyIterable<V> collect(LongIterable iterable, LongToObjectFunction<? extends V> function)
public static <V> LazyIterable<V> flatCollect(LongIterable iterable, LongToObjectFunction<? extends Iterable<V>> function)
public static <V> LazyIterable<V> collectIf(LongIterable iterable, LongPredicate predicate, LongToObjectFunction<? extends V> function)
public static LazyLongIterable empty()
public static LazyLongIterable tap(LongIterable iterable, LongProcedure procedure)
Copyright © 2004–2022. All rights reserved.