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

public Interface ImmutableCharSet

extends ImmutableCharCollection, CharSet
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.primitive.ImmutableCharCollection, org.eclipse.collections.api.set.ImmutableSet

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

Method Summary

Modifier and TypeMethod and Description
public <V> ImmutableSet<V>
collect(CharToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableCharCollection.collect, org.eclipse.collections.api.set.primitive.CharSet.collect.

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

public default ImmutableCharSet
difference(CharSet set)

Implements org.eclipse.collections.api.set.primitive.CharSet.difference.

Returns the set of all members of this that are not members of set.

public default ImmutableCharSet
intersect(CharSet set)

Implements org.eclipse.collections.api.set.primitive.CharSet.intersect.

Returns the set of all objects that are members of both this and set.

public ImmutableCharSet
public ImmutableCharSet
public ImmutableCharSet
public ImmutableCharSet
public ImmutableCharSet
reject(CharPredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableCharCollection.reject, org.eclipse.collections.api.set.primitive.CharSet.reject.

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

public ImmutableCharSet
select(CharPredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableCharCollection.select, org.eclipse.collections.api.set.primitive.CharSet.select.

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

public default ImmutableCharSet
symmetricDifference(CharSet set)

Implements org.eclipse.collections.api.set.primitive.CharSet.symmetricDifference.

Returns the set of all objects that are a member of exactly one of this and set (elements which are in one of the sets, but not in both).

public default ImmutableCharSet
public default ImmutableCharSet
Inherited from org.eclipse.collections.api.set.primitive.CharSet:
cartesianProductequalsfreezehashCodeisProperSubsetOfisSubsetOftoImmutable

Method Detail

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

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableCharCollection.collect, org.eclipse.collections.api.set.primitive.CharSet.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
differenceback to summary
public default ImmutableCharSet difference(CharSet set)

Implements org.eclipse.collections.api.set.primitive.CharSet.difference.

Returns the set of all members of this that are not members of set. The difference of [1, 2, 3] and [2, 3, 4] is [1].

Annotations
@Override
Since
11.0.
intersectback to summary
public default ImmutableCharSet intersect(CharSet set)

Implements org.eclipse.collections.api.set.primitive.CharSet.intersect.

Returns the set of all objects that are members of both this and set. The intersection of [1, 2, 3] and [2, 3, 4] is the set [2, 3].

Annotations
@Override
Since
11.0.
newWithback to summary
public ImmutableCharSet newWith(char element)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableCharCollection.newWith.

Annotations
@Override
newWithAllback to summary
public ImmutableCharSet newWithAll(CharIterable elements)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableCharCollection.newWithAll.

Annotations
@Override
newWithoutback to summary
public ImmutableCharSet newWithout(char element)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableCharCollection.newWithout.

Annotations
@Override
newWithoutAllback to summary
public ImmutableCharSet newWithoutAll(CharIterable elements)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableCharCollection.newWithoutAll.

Annotations
@Override
rejectback to summary
public ImmutableCharSet reject(CharPredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableCharCollection.reject, org.eclipse.collections.api.set.primitive.CharSet.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 ImmutableCharSet select(CharPredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableCharCollection.select, org.eclipse.collections.api.set.primitive.CharSet.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
symmetricDifferenceback to summary
public default ImmutableCharSet symmetricDifference(CharSet set)

Implements org.eclipse.collections.api.set.primitive.CharSet.symmetricDifference.

Returns the set of all objects that are a member of exactly one of this and set (elements which are in one of the sets, but not in both). For instance, for the sets [1, 2, 3] and [2, 3, 4], the symmetric difference set is [1, 4] . It is the set difference of the union and the intersection.

Annotations
@Override
Since
11.0.
tapback to summary
public default ImmutableCharSet tap(CharProcedure procedure)

Overrides default org.eclipse.collections.api.collection.primitive.ImmutableCharCollection.tap, org.eclipse.collections.api.set.primitive.CharSet.tap.

Annotations
@Override
Since
9.0.
unionback to summary
public default ImmutableCharSet union(CharSet set)

Implements org.eclipse.collections.api.set.primitive.CharSet.union.

Annotations
@Override
Since
11.0.