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

public Interface ImmutableShortBagFactory

Imports
org.eclipse.collections.api.ShortIterable, org.eclipse.collections.api.bag.primitive.ImmutableShortBag

A factory which creates instances of type ImmutableShortBag. This file was automatically generated from template file immutablePrimitiveBagFactory.stg.
Since
4.0.

Method Summary

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

Same as empty().

public ImmutableShortBag
of(short one)

Same as with(short).

public ImmutableShortBag
of(short... items)

Same as with(short[]).

public ImmutableShortBag
public ImmutableShortBag
public ImmutableShortBag
with()

Same as empty().

public ImmutableShortBag
with(short one)

public ImmutableShortBag
with(short... items)

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

Method Detail

emptyback to summary
public ImmutableShortBag empty()
Since
6.0
ofback to summary
public ImmutableShortBag of()

Same as empty().

ofback to summary
public ImmutableShortBag of(short one)

Same as with(short).

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

Same as with(short[]).

ofAllback to summary
public ImmutableShortBag ofAll(ShortIterable items)

Same as withAll(ShortIterable).

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

Same as withAll(Iterable).

withback to summary
public ImmutableShortBag with()

Same as empty().

withback to summary
public ImmutableShortBag with(short one)
withback to summary
public ImmutableShortBag with(short... items)
withAllback to summary
public ImmutableShortBag withAll(ShortIterable items)
withAllback to summary
public ImmutableShortBag withAll(Iterable<Short> iterable)