public interface ImmutableDoubleList extends ImmutableDoubleCollection, DoubleList
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableList<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> ImmutableList<V> |
collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
ImmutableDoubleList |
distinct() |
ImmutableDoubleList |
newWith(double element) |
ImmutableDoubleList |
newWithAll(DoubleIterable elements) |
ImmutableDoubleList |
newWithout(double element) |
ImmutableDoubleList |
newWithoutAll(DoubleIterable elements) |
ImmutableDoubleList |
reject(DoublePredicate predicate)
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
ImmutableDoubleList |
select(DoublePredicate predicate)
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified predicate.
|
ImmutableDoubleList |
subList(int fromIndex,
int toIndex) |
default ImmutableDoubleList |
tap(DoubleProcedure procedure) |
ImmutableDoubleList |
toReversed() |
default <T> ImmutableList<DoubleObjectPair<T>> |
zip(Iterable<T> iterable)
Returns an
ImmutableList formed from this ImmutableDoubleList and a ListIterable by
combining corresponding elements in pairs. |
default ImmutableList<DoubleDoublePair> |
zipDouble(DoubleIterable iterable)
Returns an
ImmutableList formed from this ImmutableDoubleList and another DoubleList by
combining corresponding elements in pairs. |
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf, primitiveParallelStream, primitiveStream, spliterator, toImmutableasReversed, getLast, injectIntoWithIndexcollectWithIndex, forEachWithIndex, getFirst, indexOfallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, doubleIterator, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringImmutableDoubleList select(DoublePredicate predicate)
DoubleIterableselect in interface DoubleIterableselect in interface DoubleListselect in interface ImmutableDoubleCollectionselect in interface OrderedDoubleIterableselect in interface ReversibleDoubleIterableImmutableDoubleList reject(DoublePredicate predicate)
DoubleIterablereject in interface DoubleIterablereject in interface DoubleListreject in interface ImmutableDoubleCollectionreject in interface OrderedDoubleIterablereject in interface ReversibleDoubleIterabledefault ImmutableDoubleList tap(DoubleProcedure procedure)
tap in interface DoubleIterabletap in interface DoubleListtap in interface ImmutableDoubleCollection<V> ImmutableList<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterablecollect in interface DoubleIterablecollect in interface DoubleListcollect in interface ImmutableDoubleCollectioncollect in interface OrderedDoubleIterablecollect in interface ReversibleDoubleIterabledefault <V> ImmutableList<V> collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
collectWithIndex in interface DoubleListcollectWithIndex in interface OrderedDoubleIterablecollectWithIndex in interface ReversibleDoubleIterableImmutableDoubleList newWith(double element)
newWith in interface ImmutableDoubleCollectionImmutableDoubleList newWithout(double element)
newWithout in interface ImmutableDoubleCollectionImmutableDoubleList newWithAll(DoubleIterable elements)
newWithAll in interface ImmutableDoubleCollectionImmutableDoubleList newWithoutAll(DoubleIterable elements)
newWithoutAll in interface ImmutableDoubleCollectionImmutableDoubleList toReversed()
toReversed in interface DoubleListtoReversed in interface ReversibleDoubleIterableImmutableDoubleList distinct()
distinct in interface DoubleListdistinct in interface ReversibleDoubleIterableImmutableDoubleList subList(int fromIndex, int toIndex)
subList in interface DoubleListList.subList(int fromIndex, int toIndex)default ImmutableList<DoubleDoublePair> zipDouble(DoubleIterable iterable)
ImmutableList formed from this ImmutableDoubleList and another DoubleList by
combining corresponding elements in pairs. If one of the two DoubleLists is longer than the other, its
remaining elements are ignored.zipDouble in interface DoubleListdefault <T> ImmutableList<DoubleObjectPair<T>> zip(Iterable<T> iterable)
ImmutableList formed from this ImmutableDoubleList and a ListIterable by
combining corresponding elements in pairs. If one of the two Lists is longer than the other, its
remaining elements are ignored.zip in interface DoubleListCopyright © 2004–2021. All rights reserved.