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

public final Class ShortIterableIterate

extends Object
Class Inheritance
Imports
java.io.IOException, java.util.Collection, org.eclipse.collections.api.ShortIterable, org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction, .ObjectShortToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.ShortPredicate, org.eclipse.collections.api.block.procedure.primitive.ShortProcedure, org.eclipse.collections.api.collection.primitive.MutableShortCollection, org.eclipse.collections.api.iterator.ShortIterator

This file was automatically generated from template file primitiveIterableIterate.stg.
Since
5.0

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static boolean
public static boolean
public static void
appendString(ShortIterable iterable, Appendable appendable, String start, String separator, String end)

public static <V, R extends Collection<V>> R
collect(ShortIterable iterable, ShortToObjectFunction<? extends V> function, R targetCollection)

public static int
count(ShortIterable iterable, ShortPredicate predicate)

public static short
detectIfNone(ShortIterable iterable, ShortPredicate predicate, short ifNone)

public static void
forEach(ShortIterable iterable, ShortProcedure procedure)

public static <T> T
injectInto(ShortIterable iterable, T injectedValue, ObjectShortToObjectFunction<? super T, ? extends T> function)

public static boolean
public static short
max(ShortIterable iterable)

public static short
maxIfEmpty(ShortIterable iterable, short ifEmpty)

public static short
min(ShortIterable iterable)

public static short
minIfEmpty(ShortIterable iterable, short ifEmpty)

public static boolean
public static boolean
public static <R extends MutableShortCollection> R
reject(ShortIterable iterable, ShortPredicate predicate, R targetCollection)

public static <R extends MutableShortCollection> R
select(ShortIterable iterable, ShortPredicate predicate, R targetCollection)

private static <T> String
stringValueOfItem(ShortIterable iterable, T item)

public static long
sum(ShortIterable iterable)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ShortIterableIterateback to summary
private ShortIterableIterate()

Method Detail

allSatisfyback to summary
public static boolean allSatisfy(ShortIterable iterable, ShortPredicate predicate)
anySatisfyback to summary
public static boolean anySatisfy(ShortIterable iterable, ShortPredicate predicate)
appendStringback to summary
public static void appendString(ShortIterable iterable, Appendable appendable, String start, String separator, String end)
collectback to summary
public static <V, R extends Collection<V>> R collect(ShortIterable iterable, ShortToObjectFunction<? extends V> function, R targetCollection)
countback to summary
public static int count(ShortIterable iterable, ShortPredicate predicate)
detectIfNoneback to summary
public static short detectIfNone(ShortIterable iterable, ShortPredicate predicate, short ifNone)
forEachback to summary
public static void forEach(ShortIterable iterable, ShortProcedure procedure)
injectIntoback to summary
public static <T> T injectInto(ShortIterable iterable, T injectedValue, ObjectShortToObjectFunction<? super T, ? extends T> function)
isEmptyback to summary
public static boolean isEmpty(ShortIterable iterable)
maxback to summary
public static short max(ShortIterable iterable)
maxIfEmptyback to summary
public static short maxIfEmpty(ShortIterable iterable, short ifEmpty)
minback to summary
public static short min(ShortIterable iterable)
minIfEmptyback to summary
public static short minIfEmpty(ShortIterable iterable, short ifEmpty)
noneSatisfyback to summary
public static boolean noneSatisfy(ShortIterable iterable, ShortPredicate predicate)
notEmptyback to summary
public static boolean notEmpty(ShortIterable iterable)
rejectback to summary
public static <R extends MutableShortCollection> R reject(ShortIterable iterable, ShortPredicate predicate, R targetCollection)
selectback to summary
public static <R extends MutableShortCollection> R select(ShortIterable iterable, ShortPredicate predicate, R targetCollection)
stringValueOfItemback to summary
private static <T> String stringValueOfItem(ShortIterable iterable, T item)
sumback to summary
public static long sum(ShortIterable iterable)