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

public Interface ImmutableByteSet

extends ImmutableByteCollection, ByteSet
Imports
org.eclipse.collections.api.ByteIterable, org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.BytePredicate, org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, org.eclipse.collections.api.collection.primitive.ImmutableByteCollection, 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(ByteToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.collect, org.eclipse.collections.api.set.primitive.ByteSet.collect.

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

public default ImmutableByteSet
difference(ByteSet set)

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

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

public default ImmutableByteSet
intersect(ByteSet set)

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

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

public ImmutableByteSet
public ImmutableByteSet
public ImmutableByteSet
public ImmutableByteSet
public ImmutableByteSet
reject(BytePredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.reject, org.eclipse.collections.api.set.primitive.ByteSet.reject.

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

public ImmutableByteSet
select(BytePredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.select, org.eclipse.collections.api.set.primitive.ByteSet.select.

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

public default ImmutableByteSet
symmetricDifference(ByteSet set)

Implements org.eclipse.collections.api.set.primitive.ByteSet.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 ImmutableByteSet
public default ImmutableByteSet
Inherited from org.eclipse.collections.api.set.primitive.ByteSet:
cartesianProductequalsfreezehashCodeisProperSubsetOfisSubsetOftoImmutable

Method Detail

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

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.collect, org.eclipse.collections.api.set.primitive.ByteSet.collect.

Doc from org.eclipse.collections.api.ByteIterable.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 ImmutableByteSet difference(ByteSet set)

Implements org.eclipse.collections.api.set.primitive.ByteSet.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 ImmutableByteSet intersect(ByteSet set)

Implements org.eclipse.collections.api.set.primitive.ByteSet.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 ImmutableByteSet newWith(byte element)

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

Annotations
@Override
newWithAllback to summary
public ImmutableByteSet newWithAll(ByteIterable elements)

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

Annotations
@Override
newWithoutback to summary
public ImmutableByteSet newWithout(byte element)

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

Annotations
@Override
newWithoutAllback to summary
public ImmutableByteSet newWithoutAll(ByteIterable elements)

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

Annotations
@Override
rejectback to summary
public ImmutableByteSet reject(BytePredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.reject, org.eclipse.collections.api.set.primitive.ByteSet.reject.

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

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

Annotations
@Override
selectback to summary
public ImmutableByteSet select(BytePredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.select, org.eclipse.collections.api.set.primitive.ByteSet.select.

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

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

Annotations
@Override
symmetricDifferenceback to summary
public default ImmutableByteSet symmetricDifference(ByteSet set)

Implements org.eclipse.collections.api.set.primitive.ByteSet.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 ImmutableByteSet tap(ByteProcedure procedure)

Overrides default org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.tap, org.eclipse.collections.api.set.primitive.ByteSet.tap.

Annotations
@Override
Since
9.0.
unionback to summary
public default ImmutableByteSet union(ByteSet set)

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

Annotations
@Override
Since
11.0.