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

public Interface MutableLongBagFactory

Imports
org.eclipse.collections.api.LongIterable, org.eclipse.collections.api.bag.primitive.MutableLongBag, java.util.stream.LongStream

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

Method Summary

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

Same as empty().

public MutableLongBag
of(long... items)

Same as with(long[]).

public MutableLongBag
public MutableLongBag
ofAll(Iterable<Long> iterable)

Same as withAll(Iterable).

public MutableLongBag
public MutableLongBag
with()

Same as empty().

public MutableLongBag
with(long... items)

public MutableLongBag
public MutableLongBag
withAll(Iterable<Long> iterable)

public MutableLongBag

Method Detail

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

Same as empty().

ofback to summary
public MutableLongBag of(long... items)

Same as with(long[]).

ofAllback to summary
public MutableLongBag ofAll(LongIterable items)

Same as withAll(LongIterable).

ofAllback to summary
public MutableLongBag ofAll(Iterable<Long> iterable)

Same as withAll(Iterable).

ofAllback to summary
public MutableLongBag ofAll(LongStream items)
Since
9.0
withback to summary
public MutableLongBag with()

Same as empty().

withback to summary
public MutableLongBag with(long... items)
withAllback to summary
public MutableLongBag withAll(LongIterable items)
withAllback to summary
public MutableLongBag withAll(Iterable<Long> iterable)
withAllback to summary
public MutableLongBag withAll(LongStream items)
Since
9.0