public final class LazyIntIterate extends Object
Modifier and Type | Method and Description |
---|---|
static LazyIntIterable |
adapt(IntIterable iterable)
Creates a deferred int iterable for the specified int iterable.
|
static <V> LazyIterable<V> |
collect(IntIterable iterable,
IntToObjectFunction<? extends V> function)
Creates a deferred transforming int iterable for the specified int iterable.
|
static <V> LazyIterable<V> |
collectIf(IntIterable iterable,
IntPredicate predicate,
IntToObjectFunction<? extends V> function)
Creates a deferred filtering and transforming int iterable for the specified int iterable.
|
static LazyIntIterable |
empty() |
static LazyIntIterable |
select(IntIterable iterable,
IntPredicate predicate)
Creates a deferred filtering int iterable for the specified int iterable.
|
public static LazyIntIterable adapt(IntIterable iterable)
public static LazyIntIterable select(IntIterable iterable, IntPredicate predicate)
public static <V> LazyIterable<V> collect(IntIterable iterable, IntToObjectFunction<? extends V> function)
public static <V> LazyIterable<V> collectIf(IntIterable iterable, IntPredicate predicate, IntToObjectFunction<? extends V> function)
public static LazyIntIterable empty()
Copyright © 2004–2016. All rights reserved.