public final class LazyShortIterate extends Object
Modifier and Type | Method and 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 LazyShortIterable |
select(ShortIterable iterable,
ShortPredicate predicate)
Creates a deferred filtering short iterable for the specified short 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> collectIf(ShortIterable iterable, ShortPredicate predicate, ShortToObjectFunction<? extends V> function)
public static LazyShortIterable empty()
Copyright © 2004–2016. All rights reserved.