Top Description Fields Constructors Methods
org.eclipse.collections.impl.bag.immutable.primitive

public Class ImmutableLongBagFactoryImpl

extends Object
implements ImmutableLongBagFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory
Annotations
@ServiceProvider:ImmutableLongBagFactory
Imports
org.eclipse.collections.api.LongIterable, org.eclipse.collections.api.bag.primitive.ImmutableLongBag, .MutableLongBag, org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory, org.eclipse.collections.impl.bag.mutable.primitive.LongHashBag, org.eclipse.collections.impl.factory.primitive.LongBags, java.util.stream.LongStream

ImmutableLongBagFactoryImpl is a factory implementation which creates instances of type ImmutableLongBag. This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.
Since
4.0.

Field Summary

Modifier and TypeField and Description
public static final ImmutableLongBagFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ImmutableLongBag
public ImmutableLongBag
public ImmutableLongBag
public ImmutableLongBag
public ImmutableLongBag
public ImmutableLongBag
public ImmutableLongBag
public ImmutableLongBag
public ImmutableLongBag
public ImmutableLongBag
public ImmutableLongBag
public ImmutableLongBag
public ImmutableLongBag
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final ImmutableLongBagFactory INSTANCE

Constructor Detail

ImmutableLongBagFactoryImplback to summary
public ImmutableLongBagFactoryImpl()

Method Detail

emptyback to summary
public ImmutableLongBag empty()

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.empty.

Annotations
@Override
ofback to summary
public ImmutableLongBag of()

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.of.

Doc from org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.of.

Same as empty().

Annotations
@Override
ofback to summary
public ImmutableLongBag of(long one)

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.of.

Doc from org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.of.

Same as with(long).

Annotations
@Override
ofback to summary
public ImmutableLongBag of(long... items)

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.of.

Doc from org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.of.

Same as with(long[]).

Annotations
@Override
ofAllback to summary
public ImmutableLongBag ofAll(LongIterable items)

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.ofAll.

Doc from org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.ofAll.

Same as withAll(LongIterable).

Annotations
@Override
ofAllback to summary
public ImmutableLongBag ofAll(Iterable<Long> iterable)

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.ofAll.

Doc from org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.ofAll.

Same as withAll(Iterable).

Annotations
@Override
Since
10.0
ofAllback to summary
public ImmutableLongBag ofAll(LongStream items)

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.ofAll.

Annotations
@Override
Since
9.0
withback to summary
public ImmutableLongBag with()

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.with.

Doc from org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.with.

Same as empty().

Annotations
@Override
withback to summary
public ImmutableLongBag with(long one)

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.with.

Annotations
@Override
withback to summary
public ImmutableLongBag with(long... items)

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.with.

Annotations
@Override
withAllback to summary
public ImmutableLongBag withAll(LongIterable items)

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.withAll.

Annotations
@Override
withAllback to summary
public ImmutableLongBag withAll(Iterable<Long> iterable)

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.withAll.

Annotations
@Override
Since
10.0
withAllback to summary
public ImmutableLongBag withAll(LongStream items)

Implements org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory.withAll.

Annotations
@Override
Since
9.0