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

public Interface MutableShortBagFactory

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

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

Method Summary

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

Same as empty().

public MutableShortBag
of(short... items)

Same as with(short[]).

public MutableShortBag
public MutableShortBag
public MutableShortBag
with()

Same as empty().

public MutableShortBag
with(short... items)

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

Method Detail

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

Same as empty().

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

Same as with(short[]).

ofAllback to summary
public MutableShortBag ofAll(ShortIterable items)

Same as withAll(ShortIterable).

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

Same as withAll(Iterable).

withback to summary
public MutableShortBag with()

Same as empty().

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