Class ByteIterableIterate
- java.lang.Object
-
- org.eclipse.collections.impl.utility.internal.primitive.ByteIterableIterate
-
public final class ByteIterableIterate extends java.lang.Object
This file was automatically generated from template file primitiveIterableIterate.stg.- Since:
- 5.0
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ByteIterableIterate()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
allSatisfy(ByteIterable iterable, BytePredicate predicate)
static boolean
anySatisfy(ByteIterable iterable, BytePredicate predicate)
static void
appendString(ByteIterable iterable, java.lang.Appendable appendable, java.lang.String start, java.lang.String separator, java.lang.String end)
static <V,R extends java.util.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)
private static <T> java.lang.String
stringValueOfItem(ByteIterable iterable, T item)
static long
sum(ByteIterable iterable)
-
-
-
Method Detail
-
isEmpty
public static boolean isEmpty(ByteIterable iterable)
-
notEmpty
public static boolean notEmpty(ByteIterable iterable)
-
forEach
public static void forEach(ByteIterable iterable, ByteProcedure procedure)
-
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 java.util.Collection<V>> R collect(ByteIterable iterable, ByteToObjectFunction<? extends V> function, R targetCollection)
-
detectIfNone
public static byte detectIfNone(ByteIterable iterable, BytePredicate predicate, byte ifNone)
-
count
public static int count(ByteIterable iterable, BytePredicate predicate)
-
anySatisfy
public static boolean anySatisfy(ByteIterable iterable, BytePredicate predicate)
-
allSatisfy
public static boolean allSatisfy(ByteIterable iterable, BytePredicate predicate)
-
noneSatisfy
public static boolean noneSatisfy(ByteIterable iterable, BytePredicate predicate)
-
sum
public static long sum(ByteIterable iterable)
-
max
public static byte max(ByteIterable iterable)
-
maxIfEmpty
public static byte maxIfEmpty(ByteIterable iterable, byte ifEmpty)
-
min
public static byte min(ByteIterable iterable)
-
minIfEmpty
public static byte minIfEmpty(ByteIterable iterable, byte ifEmpty)
-
appendString
public static void appendString(ByteIterable iterable, java.lang.Appendable appendable, java.lang.String start, java.lang.String separator, java.lang.String end)
-
injectInto
public static <T> T injectInto(ByteIterable iterable, T injectedValue, ObjectByteToObjectFunction<? super T,? extends T> function)
-
stringValueOfItem
private static <T> java.lang.String stringValueOfItem(ByteIterable iterable, T item)
-
-