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

public abstract Class AbstractImmutableShortSet

extends AbstractShortSet
implements ImmutableShortSet
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.set.primitive.ImmutableShortSet, org.eclipse.collections.api.set.primitive.ShortSet, org.eclipse.collections.api.ShortIterable, org.eclipse.collections.api.PrimitiveIterable, org.eclipse.collections.api.collection.primitive.ImmutableShortCollection
Known Direct Subclasses
org.eclipse.collections.impl.set.mutable.primitive.ShortHashSet.ImmutableShortHashSet, org.eclipse.collections.impl.map.mutable.primitive.ImmutableShortMapKeySet, org.eclipse.collections.impl.map.mutable.primitive.ImmutableShortShortMapKeySet
Imports
org.eclipse.collections.api.ShortIterable, .RichIterable, org.eclipse.collections.api.factory.Lists, org.eclipse.collections.api.factory.primitive.ShortSets, org.eclipse.collections.api.iterator.ShortIterator, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.set.primitive.ImmutableShortSet, .ShortSet, .MutableShortSet, org.eclipse.collections.impl.set.mutable.primitive.ShortHashSet, org.eclipse.collections.impl.set.primitive.AbstractShortSet

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<ShortIterable>
chunk(int size)

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

Partitions elements in fixed size chunks.

public ShortSet
freeze()

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

Returns a frozen copy of this set.

public ImmutableShortSet
public ImmutableShortSet
public ImmutableShortSet
public ImmutableShortSet
public ImmutableShortSet
toImmutable()

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

Returns an immutable copy of this set.

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

Constructor Detail

AbstractImmutableShortSetback to summary
public AbstractImmutableShortSet()

Method Detail

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

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

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

Partitions elements in fixed size chunks.

Annotations
@Override
freezeback to summary
public ShortSet freeze()

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

Doc from org.eclipse.collections.api.set.primitive.ShortSet.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 ImmutableShortSet newWith(short element)

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

Annotations
@Override
newWithAllback to summary
public ImmutableShortSet newWithAll(ShortIterable elements)

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

Annotations
@Override
newWithoutback to summary
public ImmutableShortSet newWithout(short element)

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

Annotations
@Override
newWithoutAllback to summary
public ImmutableShortSet newWithoutAll(ShortIterable elements)

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

Annotations
@Override
toImmutableback to summary
public ImmutableShortSet toImmutable()

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

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

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

Annotations
@Override