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

public Interface ImmutableIntCollection

extends IntIterable
Known Direct Subinterfaces
org.eclipse.collections.api.list.primitive.ImmutableIntList, org.eclipse.collections.api.set.primitive.ImmutableIntSet, org.eclipse.collections.api.bag.primitive.ImmutableIntBag
Imports
org.eclipse.collections.api.IntIterable, org.eclipse.collections.api.block.function.primitive.IntToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.IntPredicate, org.eclipse.collections.api.block.procedure.primitive.IntProcedure, 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(IntToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.IntIterable.collect.

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

public ImmutableIntCollection
newWith(int element)

public ImmutableIntCollection
public ImmutableIntCollection
newWithout(int element)

public ImmutableIntCollection
public ImmutableIntCollection
reject(IntPredicate predicate)

Redeclares org.eclipse.collections.api.IntIterable.reject.

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

public ImmutableIntCollection
select(IntPredicate predicate)

Redeclares org.eclipse.collections.api.IntIterable.select.

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

public default ImmutableIntCollection
Inherited from org.eclipse.collections.api.IntIterable:
allSatisfyanySatisfyasLazyaverageaverageIfEmptychunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachflatCollectforEachinjectIntoinjectIntoBooleaninjectIntoByteinjectIntoCharinjectIntoDoubleinjectIntoFloatinjectIntoIntinjectIntoLonginjectIntoShortintIteratormaxmaxIfEmptymedianmedianIfEmptyminminIfEmptynoneSatisfyreducereduceIfEmptyrejectselectsumsummaryStatisticstoArraytoArraytoBagtoListtoSettoSortedArraytoSortedListtoSortedListtoSortedListBytoSortedListBy

Method Detail

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

Redeclares org.eclipse.collections.api.IntIterable.collect.

Doc from org.eclipse.collections.api.IntIterable.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 ImmutableIntCollection newWith(int element)
newWithAllback to summary
public ImmutableIntCollection newWithAll(IntIterable elements)
newWithoutback to summary
public ImmutableIntCollection newWithout(int element)
newWithoutAllback to summary
public ImmutableIntCollection newWithoutAll(IntIterable elements)
rejectback to summary
public ImmutableIntCollection reject(IntPredicate predicate)

Redeclares org.eclipse.collections.api.IntIterable.reject.

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

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

Annotations
@Override
selectback to summary
public ImmutableIntCollection select(IntPredicate predicate)

Redeclares org.eclipse.collections.api.IntIterable.select.

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

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

Annotations
@Override
tapback to summary
public default ImmutableIntCollection tap(IntProcedure procedure)

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

Annotations
@Override
Since
9.0.