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 LazyLongIterable |
select(LongIterable iterable,
LongPredicate predicate)
Creates a deferred filtering long iterable for the specified long 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> collectIf(LongIterable iterable, LongPredicate predicate, LongToObjectFunction<? extends V> function)
public static LazyLongIterable empty()
Copyright © 2004–2016. All rights reserved.