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

public Interface ImmutableShortListFactory

Imports
org.eclipse.collections.api.ShortIterable, org.eclipse.collections.api.list.primitive.ImmutableShortList

A factory which creates instances of type ImmutableShortList. This file was automatically generated from template file immutablePrimitiveListFactory.stg.
Since
3.2.

Method Summary

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

Same as empty().

public ImmutableShortList
of(short one)

Same as with(short).

public ImmutableShortList
of(short... items)

Same as with(short[]).

public ImmutableShortList
public ImmutableShortList
public ImmutableShortList
with()

Same as empty().

public ImmutableShortList
with(short one)

public ImmutableShortList
with(short... items)

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

Method Detail

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

Same as empty().

ofback to summary
public ImmutableShortList of(short one)

Same as with(short).

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

Same as with(short[]).

ofAllback to summary
public ImmutableShortList ofAll(ShortIterable items)

Same as withAll(ShortIterable).

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

Same as withAll(Iterable).

withback to summary
public ImmutableShortList with()

Same as empty().

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