Top Description Methods
org.eclipse.collections.api.collection.primitive

public Interface ImmutableDoubleCollection

extends DoubleIterable
Known Direct Subinterfaces
org.eclipse.collections.api.list.primitive.ImmutableDoubleList, org.eclipse.collections.api.set.primitive.ImmutableDoubleSet, org.eclipse.collections.api.bag.primitive.ImmutableDoubleBag
Imports
org.eclipse.collections.api.DoubleIterable, org.eclipse.collections.api.block.function.primitive.DoubleToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.DoublePredicate, org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure, org.eclipse.collections.api.collection.ImmutableCollection

This file was automatically generated from template file immutablePrimitiveCollection.stg.
Since
3.0.

Method Summary

Modifier and TypeMethod and Description
public <V> ImmutableCollection<V>
collect(DoubleToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.DoubleIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection.

public ImmutableDoubleCollection
newWith(double element)

public ImmutableDoubleCollection
public ImmutableDoubleCollection
newWithout(double element)

public ImmutableDoubleCollection
public ImmutableDoubleCollection
reject(DoublePredicate predicate)

Redeclares org.eclipse.collections.api.DoubleIterable.reject.

Returns a new DoubleIterable with all of the elements in the DoubleIterable that return false for the specified predicate.

public ImmutableDoubleCollection
select(DoublePredicate predicate)

Redeclares org.eclipse.collections.api.DoubleIterable.select.

Returns a new DoubleIterable with all of the elements in the DoubleIterable that return true for the specified predicate.

public default ImmutableDoubleCollection
Inherited from org.eclipse.collections.api.DoubleIterable:
allSatisfyanySatisfyasLazyaverageaverageIfEmptychunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNonedoubleIteratoreachflatCollectforEachinjectIntoinjectIntoBooleaninjectIntoByteinjectIntoCharinjectIntoDoubleinjectIntoFloatinjectIntoIntinjectIntoLonginjectIntoShortmaxmaxIfEmptymedianmedianIfEmptyminminIfEmptynoneSatisfyreducereduceIfEmptyrejectselectsumsummaryStatisticstoArraytoArraytoBagtoListtoSettoSortedArraytoSortedListtoSortedListtoSortedListBytoSortedListBy

Method Detail

collectback to summary
public <V> ImmutableCollection<V> collect(DoubleToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.DoubleIterable.collect.

Doc from org.eclipse.collections.api.DoubleIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.

Annotations
@Override
newWithback to summary
public ImmutableDoubleCollection newWith(double element)
newWithAllback to summary
public ImmutableDoubleCollection newWithAll(DoubleIterable elements)
newWithoutback to summary
public ImmutableDoubleCollection newWithout(double element)
newWithoutAllback to summary
public ImmutableDoubleCollection newWithoutAll(DoubleIterable elements)
rejectback to summary
public ImmutableDoubleCollection reject(DoublePredicate predicate)

Redeclares org.eclipse.collections.api.DoubleIterable.reject.

Doc from org.eclipse.collections.api.DoubleIterable.reject.

Returns a new DoubleIterable with all of the elements in the DoubleIterable that return false for the specified predicate.

Annotations
@Override
selectback to summary
public ImmutableDoubleCollection select(DoublePredicate predicate)

Redeclares org.eclipse.collections.api.DoubleIterable.select.

Doc from org.eclipse.collections.api.DoubleIterable.select.

Returns a new DoubleIterable with all of the elements in the DoubleIterable that return true for the specified predicate.

Annotations
@Override
tapback to summary
public default ImmutableDoubleCollection tap(DoubleProcedure procedure)

Overrides default org.eclipse.collections.api.DoubleIterable.tap.

Annotations
@Override
Since
9.0.