Class ByteIteratorIterate
- java.lang.Object
-
- org.eclipse.collections.impl.utility.internal.primitive.ByteIteratorIterate
-
public final class ByteIteratorIterate extends java.lang.Object
The ByteIteratorIterate class provides implementations of the various iteration patterns for use with theByteIterator
. This file was automatically generated from template file primitiveIteratorIterate.stg.- Since:
- 5.0
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ByteIteratorIterate()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
allSatisfy(ByteIterator iterator, BytePredicate predicate)
static boolean
anySatisfy(ByteIterator iterator, BytePredicate predicate)
static <V,R extends java.util.Collection<V>>
Rcollect(ByteIterator iterator, ByteToObjectFunction<? extends V> function, R targetCollection)
static int
count(ByteIterator iterator, BytePredicate predicate)
static byte
detectIfNone(ByteIterator iterator, BytePredicate predicate, byte ifNone)
static void
forEach(ByteIterator iterator, ByteProcedure procedure)
static <T> T
injectInto(ByteIterator iterator, T injectedValue, ObjectByteToObjectFunction<? super T,? extends T> function)
static byte
max(ByteIterator iterator)
static byte
min(ByteIterator iterator)
static boolean
noneSatisfy(ByteIterator iterator, BytePredicate predicate)
static <R extends MutableByteCollection>
Rreject(ByteIterator iterator, BytePredicate predicate, R targetCollection)
static <R extends MutableByteCollection>
Rselect(ByteIterator iterator, BytePredicate predicate, R targetCollection)
static long
sum(ByteIterator iterator)
-
-
-
Method Detail
-
forEach
public static void forEach(ByteIterator iterator, ByteProcedure procedure)
-
select
public static <R extends MutableByteCollection> R select(ByteIterator iterator, BytePredicate predicate, R targetCollection)
-
reject
public static <R extends MutableByteCollection> R reject(ByteIterator iterator, BytePredicate predicate, R targetCollection)
-
collect
public static <V,R extends java.util.Collection<V>> R collect(ByteIterator iterator, ByteToObjectFunction<? extends V> function, R targetCollection)
-
detectIfNone
public static byte detectIfNone(ByteIterator iterator, BytePredicate predicate, byte ifNone)
-
count
public static int count(ByteIterator iterator, BytePredicate predicate)
-
anySatisfy
public static boolean anySatisfy(ByteIterator iterator, BytePredicate predicate)
-
allSatisfy
public static boolean allSatisfy(ByteIterator iterator, BytePredicate predicate)
-
noneSatisfy
public static boolean noneSatisfy(ByteIterator iterator, BytePredicate predicate)
-
injectInto
public static <T> T injectInto(ByteIterator iterator, T injectedValue, ObjectByteToObjectFunction<? super T,? extends T> function)
-
sum
public static long sum(ByteIterator iterator)
-
max
public static byte max(ByteIterator iterator)
-
min
public static byte min(ByteIterator iterator)
-
-