DoubleIterable
, OrderedDoubleIterable
, PrimitiveIterable
DoubleList
, ImmutableDoubleList
, MutableDoubleList
DoubleArrayList
, SynchronizedDoubleList
, UnmodifiableDoubleList
public interface ReversibleDoubleIterable extends OrderedDoubleIterable
Modifier and Type | Method | Description |
---|---|---|
LazyDoubleIterable |
asReversed() |
|
<V> ReversibleIterable<V> |
collect(DoubleToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
default <V> ReversibleIterable<V> |
collectWithIndex(DoubleIntToObjectFunction<? extends V> function) |
Returns a new ReversibleIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
ReversibleDoubleIterable |
distinct() |
|
double |
getLast() |
|
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectDoubleIntToObjectFunction<? super T,? extends T> function) |
|
ReversibleDoubleIterable |
reject(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
ReversibleDoubleIterable |
select(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified predicate.
|
ReversibleDoubleIterable |
toReversed() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList
collectWithIndex, forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
double getLast()
LazyDoubleIterable asReversed()
ReversibleDoubleIterable select(DoublePredicate predicate)
DoubleIterable
select
in interface DoubleIterable
select
in interface OrderedDoubleIterable
ReversibleDoubleIterable reject(DoublePredicate predicate)
DoubleIterable
reject
in interface DoubleIterable
reject
in interface OrderedDoubleIterable
<V> ReversibleIterable<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterable
collect
in interface DoubleIterable
collect
in interface OrderedDoubleIterable
default <V> ReversibleIterable<V> collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
collectWithIndex
in interface OrderedDoubleIterable
ReversibleDoubleIterable toReversed()
ReversibleDoubleIterable distinct()
<T> T injectIntoWithIndex(T injectedValue, ObjectDoubleIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex
in interface OrderedDoubleIterable
Copyright © 2004–2018. All rights reserved.