public final class LazyLongIterate
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static com.gs.collections.api.LazyLongIterable |
adapt(com.gs.collections.api.LongIterable iterable)
Creates a deferred long iterable for the specified long iterable.
|
static <V> com.gs.collections.api.LazyIterable<V> |
collect(com.gs.collections.api.LongIterable iterable,
com.gs.collections.api.block.function.primitive.LongToObjectFunction<? extends V> function)
Creates a deferred transforming long iterable for the specified long iterable.
|
static <V> com.gs.collections.api.LazyIterable<V> |
collectIf(com.gs.collections.api.LongIterable iterable,
com.gs.collections.api.block.predicate.primitive.LongPredicate predicate,
com.gs.collections.api.block.function.primitive.LongToObjectFunction<? extends V> function)
Creates a deferred filtering and transforming long iterable for the specified long iterable.
|
static com.gs.collections.api.LazyLongIterable |
empty() |
static com.gs.collections.api.LazyLongIterable |
select(com.gs.collections.api.LongIterable iterable,
com.gs.collections.api.block.predicate.primitive.LongPredicate predicate)
Creates a deferred filtering long iterable for the specified long iterable.
|
public static com.gs.collections.api.LazyLongIterable adapt(com.gs.collections.api.LongIterable iterable)
public static com.gs.collections.api.LazyLongIterable select(com.gs.collections.api.LongIterable iterable,
com.gs.collections.api.block.predicate.primitive.LongPredicate predicate)
public static <V> com.gs.collections.api.LazyIterable<V> collect(com.gs.collections.api.LongIterable iterable,
com.gs.collections.api.block.function.primitive.LongToObjectFunction<? extends V> function)
public static <V> com.gs.collections.api.LazyIterable<V> collectIf(com.gs.collections.api.LongIterable iterable,
com.gs.collections.api.block.predicate.primitive.LongPredicate predicate,
com.gs.collections.api.block.function.primitive.LongToObjectFunction<? extends V> function)
public static com.gs.collections.api.LazyLongIterable empty()