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

public abstract Class AbstractImmutableLongSet

extends AbstractLongSet
implements ImmutableLongSet
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.set.primitive.ImmutableLongSet, org.eclipse.collections.api.set.primitive.LongSet, org.eclipse.collections.api.LongIterable, org.eclipse.collections.api.PrimitiveIterable, org.eclipse.collections.api.collection.primitive.ImmutableLongCollection
Known Direct Subclasses
org.eclipse.collections.impl.set.mutable.primitive.LongHashSet.ImmutableLongHashSet, org.eclipse.collections.impl.map.mutable.primitive.ImmutableLongLongMapKeySet, org.eclipse.collections.impl.map.mutable.primitive.ImmutableLongMapKeySet
Imports
org.eclipse.collections.api.LongIterable, .RichIterable, org.eclipse.collections.api.factory.Lists, org.eclipse.collections.api.factory.primitive.LongSets, org.eclipse.collections.api.iterator.LongIterator, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.set.primitive.ImmutableLongSet, .LongSet, .MutableLongSet, org.eclipse.collections.impl.set.mutable.primitive.LongHashSet, org.eclipse.collections.impl.set.primitive.AbstractLongSet

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

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

Partitions elements in fixed size chunks.

public LongSet
freeze()

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

Returns a frozen copy of this set.

public ImmutableLongSet
public ImmutableLongSet
public ImmutableLongSet
public ImmutableLongSet
public ImmutableLongSet
toImmutable()

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

Returns an immutable copy of this set.

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

Constructor Detail

AbstractImmutableLongSetback to summary
public AbstractImmutableLongSet()

Method Detail

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

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

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

Partitions elements in fixed size chunks.

Annotations
@Override
freezeback to summary
public LongSet freeze()

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

Doc from org.eclipse.collections.api.set.primitive.LongSet.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 ImmutableLongSet newWith(long element)

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

Annotations
@Override
newWithAllback to summary
public ImmutableLongSet newWithAll(LongIterable elements)

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

Annotations
@Override
newWithoutback to summary
public ImmutableLongSet newWithout(long element)

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

Annotations
@Override
newWithoutAllback to summary
public ImmutableLongSet newWithoutAll(LongIterable elements)

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

Annotations
@Override
toImmutableback to summary
public ImmutableLongSet toImmutable()

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

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

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

Annotations
@Override