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 <V> LazyIterable<V> |
flatCollect(IntIterable iterable,
IntToObjectFunction<? extends Iterable<V>> function)
Creates a deferred transforming and flattening int iterable for the specified int iterable.
|
static LazyIntIterable |
select(IntIterable iterable,
IntPredicate predicate)
Creates a deferred filtering int iterable for the specified int iterable.
|
static LazyIntIterable |
tap(IntIterable iterable,
IntProcedure procedure)
Creates a deferred tap iterable for the specified 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> flatCollect(IntIterable iterable, IntToObjectFunction<? extends Iterable<V>> function)
public static <V> LazyIterable<V> collectIf(IntIterable iterable, IntPredicate predicate, IntToObjectFunction<? extends V> function)
public static LazyIntIterable empty()
public static LazyIntIterable tap(IntIterable iterable, IntProcedure procedure)
Copyright © 2004–2022. All rights reserved.