Class ByteIterableIterate
java.lang.Object
org.eclipse.collections.impl.utility.internal.primitive.ByteIterableIterate
public final class ByteIterableIterate extends Object
This file was automatically generated from template file primitiveIterableIterate.stg.
- Since:
- 5.0
-
Method Summary
Modifier and Type Method 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>>
Rcollect(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>
Rreject(ByteIterable iterable, BytePredicate predicate, R targetCollection)
static <R extends MutableByteCollection>
Rselect(ByteIterable iterable, BytePredicate predicate, R targetCollection)
static long
sum(ByteIterable iterable)
-
Method Details
-
isEmpty
-
notEmpty
-
forEach
-
select
public static <R extends MutableByteCollection> R select(ByteIterable iterable, BytePredicate predicate, R targetCollection) -
reject
public static <R extends MutableByteCollection> R reject(ByteIterable iterable, BytePredicate predicate, R targetCollection) -
collect
public static <V, R extends Collection<V>> R collect(ByteIterable iterable, ByteToObjectFunction<? extends V> function, R targetCollection) -
detectIfNone
-
count
-
anySatisfy
-
allSatisfy
-
noneSatisfy
-
sum
-
max
-
maxIfEmpty
-
min
-
minIfEmpty
-
appendString
public static void appendString(ByteIterable iterable, Appendable appendable, String start, String separator, String end) -
injectInto
public static <T> T injectInto(ByteIterable iterable, T injectedValue, ObjectByteToObjectFunction<? super T,? extends T> function)
-