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

public Interface ImmutableCharCollection

extends CharIterable
Known Direct Subinterfaces
org.eclipse.collections.api.list.primitive.ImmutableCharList, org.eclipse.collections.api.set.primitive.ImmutableCharSet, org.eclipse.collections.api.bag.primitive.ImmutableCharBag
Imports
org.eclipse.collections.api.CharIterable, org.eclipse.collections.api.block.function.primitive.CharToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.CharPredicate, org.eclipse.collections.api.block.procedure.primitive.CharProcedure, 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(CharToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.CharIterable.collect.

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

public ImmutableCharCollection
newWith(char element)

public ImmutableCharCollection
public ImmutableCharCollection
newWithout(char element)

public ImmutableCharCollection
public ImmutableCharCollection
reject(CharPredicate predicate)

Redeclares org.eclipse.collections.api.CharIterable.reject.

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

public ImmutableCharCollection
select(CharPredicate predicate)

Redeclares org.eclipse.collections.api.CharIterable.select.

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

public default ImmutableCharCollection
Inherited from org.eclipse.collections.api.CharIterable:
allSatisfyanySatisfyasLazyaverageaverageIfEmptycharIteratorchunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachflatCollectforEachinjectIntoinjectIntoBooleaninjectIntoByteinjectIntoCharinjectIntoDoubleinjectIntoFloatinjectIntoIntinjectIntoLonginjectIntoShortmaxmaxIfEmptymedianmedianIfEmptyminminIfEmptynoneSatisfyreducereduceIfEmptyrejectselectsumsummaryStatisticstoArraytoArraytoBagtoListtoSettoSortedArraytoSortedListtoSortedListtoSortedListBytoSortedListBy

Method Detail

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

Redeclares org.eclipse.collections.api.CharIterable.collect.

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

Redeclares org.eclipse.collections.api.CharIterable.reject.

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

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

Annotations
@Override
selectback to summary
public ImmutableCharCollection select(CharPredicate predicate)

Redeclares org.eclipse.collections.api.CharIterable.select.

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

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

Annotations
@Override
tapback to summary
public default ImmutableCharCollection tap(CharProcedure procedure)

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

Annotations
@Override
Since
9.0.