Top Description Constructors Methods
org.eclipse.collections.impl.utility.internal.primitive

public final Class ByteIteratorIterate

extends Object
Class Inheritance
Imports
java.util.Collection, org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction, .ObjectByteToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.BytePredicate, org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, org.eclipse.collections.api.collection.primitive.MutableByteCollection, org.eclipse.collections.api.iterator.ByteIterator

The ByteIteratorIterate class provides implementations of the various iteration patterns for use with the ByteIterator. This file was automatically generated from template file primitiveIteratorIterate.stg.
Since
5.0

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static boolean
allSatisfy(ByteIterator iterator, BytePredicate predicate)

public static boolean
anySatisfy(ByteIterator iterator, BytePredicate predicate)

public static <V, R extends Collection<V>> R
collect(ByteIterator iterator, ByteToObjectFunction<? extends V> function, R targetCollection)

public static int
count(ByteIterator iterator, BytePredicate predicate)

public static byte
detectIfNone(ByteIterator iterator, BytePredicate predicate, byte ifNone)

public static void
forEach(ByteIterator iterator, ByteProcedure procedure)

public static <T> T
injectInto(ByteIterator iterator, T injectedValue, ObjectByteToObjectFunction<? super T, ? extends T> function)

public static byte
max(ByteIterator iterator)

public static byte
min(ByteIterator iterator)

public static boolean
noneSatisfy(ByteIterator iterator, BytePredicate predicate)

public static <R extends MutableByteCollection> R
reject(ByteIterator iterator, BytePredicate predicate, R targetCollection)

public static <R extends MutableByteCollection> R
select(ByteIterator iterator, BytePredicate predicate, R targetCollection)

public static long
sum(ByteIterator iterator)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ByteIteratorIterateback to summary
private ByteIteratorIterate()

Method Detail

allSatisfyback to summary
public static boolean allSatisfy(ByteIterator iterator, BytePredicate predicate)
anySatisfyback to summary
public static boolean anySatisfy(ByteIterator iterator, BytePredicate predicate)
collectback to summary
public static <V, R extends Collection<V>> R collect(ByteIterator iterator, ByteToObjectFunction<? extends V> function, R targetCollection)
countback to summary
public static int count(ByteIterator iterator, BytePredicate predicate)
detectIfNoneback to summary
public static byte detectIfNone(ByteIterator iterator, BytePredicate predicate, byte ifNone)
forEachback to summary
public static void forEach(ByteIterator iterator, ByteProcedure procedure)
injectIntoback to summary
public static <T> T injectInto(ByteIterator iterator, T injectedValue, ObjectByteToObjectFunction<? super T, ? extends T> function)
maxback to summary
public static byte max(ByteIterator iterator)
minback to summary
public static byte min(ByteIterator iterator)
noneSatisfyback to summary
public static boolean noneSatisfy(ByteIterator iterator, BytePredicate predicate)
rejectback to summary
public static <R extends MutableByteCollection> R reject(ByteIterator iterator, BytePredicate predicate, R targetCollection)
selectback to summary
public static <R extends MutableByteCollection> R select(ByteIterator iterator, BytePredicate predicate, R targetCollection)
sumback to summary
public static long sum(ByteIterator iterator)