Class ImmutableLongBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.immutable.primitive.ImmutableLongBagFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongBagFactory
public class ImmutableLongBagFactoryImpl extends Object implements ImmutableLongBagFactory
ImmutableLongBagFactoryImpl is a factory implementation which creates instances of typeImmutableLongBag. This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableLongBagFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongBagempty()ImmutableLongBagof()ImmutableLongBagof(long one)ImmutableLongBagof(long... items)ImmutableLongBagofAll(Iterable<Long> iterable)ImmutableLongBagofAll(LongStream items)ImmutableLongBagofAll(LongIterable items)ImmutableLongBagwith()ImmutableLongBagwith(long one)ImmutableLongBagwith(long... items)ImmutableLongBagwithAll(Iterable<Long> iterable)ImmutableLongBagwithAll(LongStream items)ImmutableLongBagwithAll(LongIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongBagFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongBag empty()
- Specified by:
emptyin interfaceImmutableLongBagFactory
-
of
public ImmutableLongBag of()
- Specified by:
ofin interfaceImmutableLongBagFactory
-
with
public ImmutableLongBag with()
- Specified by:
within interfaceImmutableLongBagFactory
-
of
public ImmutableLongBag of(long one)
- Specified by:
ofin interfaceImmutableLongBagFactory
-
with
public ImmutableLongBag with(long one)
- Specified by:
within interfaceImmutableLongBagFactory
-
of
public ImmutableLongBag of(long... items)
- Specified by:
ofin interfaceImmutableLongBagFactory
-
with
public ImmutableLongBag with(long... items)
- Specified by:
within interfaceImmutableLongBagFactory
-
ofAll
public ImmutableLongBag ofAll(LongIterable items)
- Specified by:
ofAllin interfaceImmutableLongBagFactory
-
withAll
public ImmutableLongBag withAll(LongIterable items)
- Specified by:
withAllin interfaceImmutableLongBagFactory
-
ofAll
public ImmutableLongBag ofAll(Iterable<Long> iterable)
- Specified by:
ofAllin interfaceImmutableLongBagFactory- Since:
- 10.0
-
withAll
public ImmutableLongBag withAll(Iterable<Long> iterable)
- Specified by:
withAllin interfaceImmutableLongBagFactory- Since:
- 10.0
-
ofAll
public ImmutableLongBag ofAll(LongStream items)
- Specified by:
ofAllin interfaceImmutableLongBagFactory- Since:
- 9.0
-
withAll
public ImmutableLongBag withAll(LongStream items)
- Specified by:
withAllin interfaceImmutableLongBagFactory- Since:
- 9.0
-
-