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

public Interface ImmutableShortCollection

extends ShortIterable
Known Direct Subinterfaces
org.eclipse.collections.api.list.primitive.ImmutableShortList, org.eclipse.collections.api.set.primitive.ImmutableShortSet, org.eclipse.collections.api.bag.primitive.ImmutableShortBag
Imports
org.eclipse.collections.api.ShortIterable, org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.ShortPredicate, org.eclipse.collections.api.block.procedure.primitive.ShortProcedure, 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(ShortToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.ShortIterable.collect.

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

public ImmutableShortCollection
newWith(short element)

public ImmutableShortCollection
public ImmutableShortCollection
newWithout(short element)

public ImmutableShortCollection
public ImmutableShortCollection
reject(ShortPredicate predicate)

Redeclares org.eclipse.collections.api.ShortIterable.reject.

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

public ImmutableShortCollection
select(ShortPredicate predicate)

Redeclares org.eclipse.collections.api.ShortIterable.select.

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

public default ImmutableShortCollection
Inherited from org.eclipse.collections.api.ShortIterable:
allSatisfyanySatisfyasLazyaverageaverageIfEmptychunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachflatCollectforEachinjectIntoinjectIntoBooleaninjectIntoByteinjectIntoCharinjectIntoDoubleinjectIntoFloatinjectIntoIntinjectIntoLonginjectIntoShortmaxmaxIfEmptymedianmedianIfEmptyminminIfEmptynoneSatisfyreducereduceIfEmptyrejectselectshortIteratorsumsummaryStatisticstoArraytoArraytoBagtoListtoSettoSortedArraytoSortedListtoSortedListtoSortedListBytoSortedListBy

Method Detail

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

Redeclares org.eclipse.collections.api.ShortIterable.collect.

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

Redeclares org.eclipse.collections.api.ShortIterable.reject.

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

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

Annotations
@Override
selectback to summary
public ImmutableShortCollection select(ShortPredicate predicate)

Redeclares org.eclipse.collections.api.ShortIterable.select.

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

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

Annotations
@Override
tapback to summary
public default ImmutableShortCollection tap(ShortProcedure procedure)

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

Annotations
@Override
Since
9.0.