public final class LongIteratorIterate extends Object
LongIterator
.
This file was automatically generated from template file primitiveIteratorIterate.stg.Modifier and Type | Method | Description |
---|---|---|
static boolean |
allSatisfy(LongIterator iterator,
LongPredicate predicate) |
|
static boolean |
anySatisfy(LongIterator iterator,
LongPredicate predicate) |
|
static <V,R extends Collection<V>> |
collect(LongIterator iterator,
LongToObjectFunction<? extends V> function,
R targetCollection) |
|
static int |
count(LongIterator iterator,
LongPredicate predicate) |
|
static long |
detectIfNone(LongIterator iterator,
LongPredicate predicate,
long ifNone) |
|
static void |
forEach(LongIterator iterator,
LongProcedure procedure) |
|
static <T> T |
injectInto(LongIterator iterator,
T injectedValue,
ObjectLongToObjectFunction<? super T,? extends T> function) |
|
static long |
max(LongIterator iterator) |
|
static long |
min(LongIterator iterator) |
|
static boolean |
noneSatisfy(LongIterator iterator,
LongPredicate predicate) |
|
static <R extends MutableLongCollection> |
reject(LongIterator iterator,
LongPredicate predicate,
R targetCollection) |
|
static <R extends MutableLongCollection> |
select(LongIterator iterator,
LongPredicate predicate,
R targetCollection) |
|
static long |
sum(LongIterator iterator) |
public static void forEach(LongIterator iterator, LongProcedure procedure)
public static <R extends MutableLongCollection> R select(LongIterator iterator, LongPredicate predicate, R targetCollection)
public static <R extends MutableLongCollection> R reject(LongIterator iterator, LongPredicate predicate, R targetCollection)
public static <V,R extends Collection<V>> R collect(LongIterator iterator, LongToObjectFunction<? extends V> function, R targetCollection)
public static long detectIfNone(LongIterator iterator, LongPredicate predicate, long ifNone)
public static int count(LongIterator iterator, LongPredicate predicate)
public static boolean anySatisfy(LongIterator iterator, LongPredicate predicate)
public static boolean allSatisfy(LongIterator iterator, LongPredicate predicate)
public static boolean noneSatisfy(LongIterator iterator, LongPredicate predicate)
public static <T> T injectInto(LongIterator iterator, T injectedValue, ObjectLongToObjectFunction<? super T,? extends T> function)
public static long sum(LongIterator iterator)
public static long max(LongIterator iterator)
public static long min(LongIterator iterator)
Copyright © 2004–2019. All rights reserved.