public final class LazyByteIterate
extends java.lang.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 <V> LazyIterable<V> |
flatCollect(ByteIterable iterable,
ByteToObjectFunction<? extends java.lang.Iterable<V>> function) |
Creates a deferred transforming and flattening byte iterable for the specified byte iterable.
|
static LazyByteIterable |
select(ByteIterable iterable,
BytePredicate predicate) |
Creates a deferred filtering byte iterable for the specified byte iterable.
|
static LazyByteIterable |
tap(ByteIterable iterable,
ByteProcedure procedure) |
Creates a deferred tap iterable for the specified 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> flatCollect(ByteIterable iterable, ByteToObjectFunction<? extends java.lang.Iterable<V>> function)
public static <V> LazyIterable<V> collectIf(ByteIterable iterable, BytePredicate predicate, ByteToObjectFunction<? extends V> function)
public static LazyByteIterable empty()
public static LazyByteIterable tap(ByteIterable iterable, ByteProcedure procedure)
Copyright © 2004–2020. All rights reserved.