public final class LazyShortIterate
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static LazyShortIterable |
adapt(ShortIterable iterable) |
Creates a deferred short iterable for the specified short iterable.
|
static <V> LazyIterable<V> |
collect(ShortIterable iterable,
ShortToObjectFunction<? extends V> function) |
Creates a deferred transforming short iterable for the specified short iterable.
|
static <V> LazyIterable<V> |
collectIf(ShortIterable iterable,
ShortPredicate predicate,
ShortToObjectFunction<? extends V> function) |
Creates a deferred filtering and transforming short iterable for the specified short iterable.
|
static LazyShortIterable |
empty() |
|
static <V> LazyIterable<V> |
flatCollect(ShortIterable iterable,
ShortToObjectFunction<? extends java.lang.Iterable<V>> function) |
Creates a deferred transforming and flattening short iterable for the specified short iterable.
|
static LazyShortIterable |
select(ShortIterable iterable,
ShortPredicate predicate) |
Creates a deferred filtering short iterable for the specified short iterable.
|
static LazyShortIterable |
tap(ShortIterable iterable,
ShortProcedure procedure) |
Creates a deferred tap iterable for the specified iterable.
|
public static LazyShortIterable adapt(ShortIterable iterable)
public static LazyShortIterable select(ShortIterable iterable, ShortPredicate predicate)
public static <V> LazyIterable<V> collect(ShortIterable iterable, ShortToObjectFunction<? extends V> function)
public static <V> LazyIterable<V> flatCollect(ShortIterable iterable, ShortToObjectFunction<? extends java.lang.Iterable<V>> function)
public static <V> LazyIterable<V> collectIf(ShortIterable iterable, ShortPredicate predicate, ShortToObjectFunction<? extends V> function)
public static LazyShortIterable empty()
public static LazyShortIterable tap(ShortIterable iterable, ShortProcedure procedure)
Copyright © 2004–2018. All rights reserved.