Top Description Constructors Methods
org.eclipse.collections.impl.set.immutable.primitive

public abstract Class AbstractImmutableIntSet

extends AbstractIntSet
implements ImmutableIntSet
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.set.primitive.ImmutableIntSet, org.eclipse.collections.api.set.primitive.IntSet, org.eclipse.collections.api.IntIterable, org.eclipse.collections.api.PrimitiveIterable, org.eclipse.collections.api.collection.primitive.ImmutableIntCollection
Known Direct Subclasses
org.eclipse.collections.impl.set.mutable.primitive.IntHashSet.ImmutableIntHashSet, org.eclipse.collections.impl.map.mutable.primitive.ImmutableIntIntMapKeySet, org.eclipse.collections.impl.map.mutable.primitive.ImmutableIntMapKeySet
Imports
org.eclipse.collections.api.IntIterable, .RichIterable, org.eclipse.collections.api.factory.Lists, org.eclipse.collections.api.factory.primitive.IntSets, org.eclipse.collections.api.iterator.IntIterator, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.set.primitive.ImmutableIntSet, .IntSet, .MutableIntSet, org.eclipse.collections.impl.set.mutable.primitive.IntHashSet, org.eclipse.collections.impl.set.primitive.AbstractIntSet

This file was automatically generated from template file abstractImmutablePrimitiveSet.stg.
Since
6.0.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public RichIterable<IntIterable>
chunk(int size)

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

Partitions elements in fixed size chunks.

public IntSet
freeze()

Implements org.eclipse.collections.api.set.primitive.IntSet.freeze.

Returns a frozen copy of this set.

public ImmutableIntSet
public ImmutableIntSet
public ImmutableIntSet
public ImmutableIntSet
public ImmutableIntSet
toImmutable()

Implements org.eclipse.collections.api.set.primitive.IntSet.toImmutable.

Returns an immutable copy of this set.

Inherited from org.eclipse.collections.impl.set.primitive.AbstractIntSet:
cartesianProductequalshashCode

Constructor Detail

AbstractImmutableIntSetback to summary
public AbstractImmutableIntSet()

Method Detail

chunkback to summary
public RichIterable<IntIterable> chunk(int size)

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

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

Partitions elements in fixed size chunks.

Annotations
@Override
freezeback to summary
public IntSet freeze()

Implements org.eclipse.collections.api.set.primitive.IntSet.freeze.

Doc from org.eclipse.collections.api.set.primitive.IntSet.freeze.

Returns a frozen copy of this set. If the set is frozen, it returns itself. A frozen copy is the same thing as an immutable copy without safe-publish guarantees.

Annotations
@Override
newWithback to summary
public ImmutableIntSet newWith(int element)

Implements org.eclipse.collections.api.set.primitive.ImmutableIntSet.newWith.

Annotations
@Override
newWithAllback to summary
public ImmutableIntSet newWithAll(IntIterable elements)

Implements org.eclipse.collections.api.set.primitive.ImmutableIntSet.newWithAll.

Annotations
@Override
newWithoutback to summary
public ImmutableIntSet newWithout(int element)

Implements org.eclipse.collections.api.set.primitive.ImmutableIntSet.newWithout.

Annotations
@Override
newWithoutAllback to summary
public ImmutableIntSet newWithoutAll(IntIterable elements)

Implements org.eclipse.collections.api.set.primitive.ImmutableIntSet.newWithoutAll.

Annotations
@Override
toImmutableback to summary
public ImmutableIntSet toImmutable()

Implements org.eclipse.collections.api.set.primitive.IntSet.toImmutable.

Doc from org.eclipse.collections.api.set.primitive.IntSet.toImmutable.

Returns an immutable copy of this set. If the set is immutable, it returns itself.

Annotations
@Override