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 booleanallSatisfy(ByteIterable iterable, BytePredicate predicate)static booleananySatisfy(ByteIterable iterable, BytePredicate predicate)static voidappendString(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 intcount(ByteIterable iterable, BytePredicate predicate)static bytedetectIfNone(ByteIterable iterable, BytePredicate predicate, byte ifNone)static voidforEach(ByteIterable iterable, ByteProcedure procedure)static <T> TinjectInto(ByteIterable iterable, T injectedValue, ObjectByteToObjectFunction<? super T,? extends T> function)static booleanisEmpty(ByteIterable iterable)static bytemax(ByteIterable iterable)static bytemaxIfEmpty(ByteIterable iterable, byte ifEmpty)static bytemin(ByteIterable iterable)static byteminIfEmpty(ByteIterable iterable, byte ifEmpty)static booleannoneSatisfy(ByteIterable iterable, BytePredicate predicate)static booleannotEmpty(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 longsum(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)
-