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

public Interface MutableShortSetFactory

Imports
org.eclipse.collections.api.ShortIterable, org.eclipse.collections.api.set.primitive.MutableShortSet

A factory which creates instances of type MutableShortSet. This file was automatically generated from template file mutablePrimitiveSetFactory.stg.
Since
6.0.

Method Summary

Modifier and TypeMethod and Description
public MutableShortSet
public MutableShortSet
of()

Same as empty().

public MutableShortSet
of(short... items)

Same as with(short[]).

public MutableShortSet
public MutableShortSet
public MutableShortSet
with()

Same as empty().

public MutableShortSet
with(short... items)

public MutableShortSet
public MutableShortSet
withAll(Iterable<Short> iterable)

public default MutableShortSet
withInitialCapacity(int capacity)

Same as empty().

Method Detail

emptyback to summary
public MutableShortSet empty()
ofback to summary
public MutableShortSet of()

Same as empty().

ofback to summary
public MutableShortSet of(short... items)

Same as with(short[]).

ofAllback to summary
public MutableShortSet ofAll(ShortIterable items)

Same as withAll(ShortIterable).

ofAllback to summary
public MutableShortSet ofAll(Iterable<Short> iterable)

Same as withAll(Iterable).

withback to summary
public MutableShortSet with()

Same as empty().

withback to summary
public MutableShortSet with(short... items)
withAllback to summary
public MutableShortSet withAll(ShortIterable items)
withAllback to summary
public MutableShortSet withAll(Iterable<Short> iterable)
withInitialCapacityback to summary
public default MutableShortSet withInitialCapacity(int capacity)

Same as empty(). but takes in an initial capacity

Since
10.3