public final class ByteIterableIterate extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
allSatisfy(ByteIterable iterable,
BytePredicate predicate) |
static boolean |
anySatisfy(ByteIterable iterable,
BytePredicate predicate) |
static void |
appendString(ByteIterable iterable,
Appendable appendable,
String start,
String separator,
String end) |
static <V,R extends Collection<V>> |
collect(ByteIterable iterable,
ByteToObjectFunction<? extends V> function,
R targetCollection) |
static int |
count(ByteIterable iterable,
BytePredicate predicate) |
static byte |
detectIfNone(ByteIterable iterable,
BytePredicate predicate,
byte ifNone) |
static void |
forEach(ByteIterable iterable,
ByteProcedure procedure) |
static <T> T |
injectInto(ByteIterable iterable,
T injectedValue,
ObjectByteToObjectFunction<? super T,? extends T> function) |
static boolean |
isEmpty(ByteIterable iterable) |
static byte |
max(ByteIterable iterable) |
static byte |
maxIfEmpty(ByteIterable iterable,
byte ifEmpty) |
static byte |
min(ByteIterable iterable) |
static byte |
minIfEmpty(ByteIterable iterable,
byte ifEmpty) |
static boolean |
noneSatisfy(ByteIterable iterable,
BytePredicate predicate) |
static boolean |
notEmpty(ByteIterable iterable) |
static <R extends MutableByteCollection> |
reject(ByteIterable iterable,
BytePredicate predicate,
R targetCollection) |
static <R extends MutableByteCollection> |
select(ByteIterable iterable,
BytePredicate predicate,
R targetCollection) |
static long |
sum(ByteIterable iterable) |
public static boolean isEmpty(ByteIterable iterable)
public static boolean notEmpty(ByteIterable iterable)
public static void forEach(ByteIterable iterable, ByteProcedure procedure)
public static <R extends MutableByteCollection> R select(ByteIterable iterable, BytePredicate predicate, R targetCollection)
public static <R extends MutableByteCollection> R reject(ByteIterable iterable, BytePredicate predicate, R targetCollection)
public static <V,R extends Collection<V>> R collect(ByteIterable iterable, ByteToObjectFunction<? extends V> function, R targetCollection)
public static byte detectIfNone(ByteIterable iterable, BytePredicate predicate, byte ifNone)
public static int count(ByteIterable iterable, BytePredicate predicate)
public static boolean anySatisfy(ByteIterable iterable, BytePredicate predicate)
public static boolean allSatisfy(ByteIterable iterable, BytePredicate predicate)
public static boolean noneSatisfy(ByteIterable iterable, BytePredicate predicate)
public static long sum(ByteIterable iterable)
public static byte max(ByteIterable iterable)
public static byte maxIfEmpty(ByteIterable iterable, byte ifEmpty)
public static byte min(ByteIterable iterable)
public static byte minIfEmpty(ByteIterable iterable, byte ifEmpty)
public static void appendString(ByteIterable iterable, Appendable appendable, String start, String separator, String end)
public static <T> T injectInto(ByteIterable iterable, T injectedValue, ObjectByteToObjectFunction<? super T,? extends T> function)
Copyright © 2004–2016. All rights reserved.