public final class LazyByteIterate extends Object
Modifier and Type | Method | Description |
---|---|---|
static LazyByteIterable |
adapt(ByteIterable iterable) |
Creates a deferred byte iterable for the specified byte iterable.
|
static <V> LazyIterable<V> |
collect(ByteIterable iterable,
ByteToObjectFunction<? extends V> function) |
Creates a deferred transforming byte iterable for the specified byte iterable.
|
static <V> LazyIterable<V> |
collectIf(ByteIterable iterable,
BytePredicate predicate,
ByteToObjectFunction<? extends V> function) |
Creates a deferred filtering and transforming byte iterable for the specified byte iterable.
|
static LazyByteIterable |
empty() |
|
static LazyByteIterable |
select(ByteIterable iterable,
BytePredicate predicate) |
Creates a deferred filtering byte iterable for the specified byte iterable.
|
public static LazyByteIterable adapt(ByteIterable iterable)
public static LazyByteIterable select(ByteIterable iterable, BytePredicate predicate)
public static <V> LazyIterable<V> collect(ByteIterable iterable, ByteToObjectFunction<? extends V> function)
public static <V> LazyIterable<V> collectIf(ByteIterable iterable, BytePredicate predicate, ByteToObjectFunction<? extends V> function)
public static LazyByteIterable empty()
Copyright © 2004–2017. All rights reserved.