Class ImmutableLongBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.immutable.primitive.ImmutableLongBagFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongBagFactory
public class ImmutableLongBagFactoryImpl extends java.lang.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 ImmutableLongBagFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongBag
empty()
ImmutableLongBag
of()
Same asImmutableLongBagFactory.empty()
.ImmutableLongBag
of(long one)
Same asImmutableLongBagFactory.with(long)
.ImmutableLongBag
of(long... items)
Same asImmutableLongBagFactory.with(long[])
.ImmutableLongBag
ofAll(java.lang.Iterable<java.lang.Long> iterable)
ImmutableLongBag
ofAll(java.util.stream.LongStream items)
ImmutableLongBag
ofAll(LongIterable items)
ImmutableLongBag
with()
Same asImmutableLongBagFactory.empty()
.ImmutableLongBag
with(long one)
ImmutableLongBag
with(long... items)
ImmutableLongBag
withAll(java.lang.Iterable<java.lang.Long> iterable)
ImmutableLongBag
withAll(java.util.stream.LongStream items)
ImmutableLongBag
withAll(LongIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongBagFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongBag empty()
- Specified by:
empty
in interfaceImmutableLongBagFactory
-
of
public ImmutableLongBag of()
Description copied from interface:ImmutableLongBagFactory
Same asImmutableLongBagFactory.empty()
.- Specified by:
of
in interfaceImmutableLongBagFactory
-
with
public ImmutableLongBag with()
Description copied from interface:ImmutableLongBagFactory
Same asImmutableLongBagFactory.empty()
.- Specified by:
with
in interfaceImmutableLongBagFactory
-
of
public ImmutableLongBag of(long one)
Description copied from interface:ImmutableLongBagFactory
Same asImmutableLongBagFactory.with(long)
.- Specified by:
of
in interfaceImmutableLongBagFactory
-
with
public ImmutableLongBag with(long one)
- Specified by:
with
in interfaceImmutableLongBagFactory
-
of
public ImmutableLongBag of(long... items)
Description copied from interface:ImmutableLongBagFactory
Same asImmutableLongBagFactory.with(long[])
.- Specified by:
of
in interfaceImmutableLongBagFactory
-
with
public ImmutableLongBag with(long... items)
- Specified by:
with
in interfaceImmutableLongBagFactory
-
ofAll
public ImmutableLongBag ofAll(LongIterable items)
Description copied from interface:ImmutableLongBagFactory
- Specified by:
ofAll
in interfaceImmutableLongBagFactory
-
withAll
public ImmutableLongBag withAll(LongIterable items)
- Specified by:
withAll
in interfaceImmutableLongBagFactory
-
ofAll
public ImmutableLongBag ofAll(java.lang.Iterable<java.lang.Long> iterable)
Description copied from interface:ImmutableLongBagFactory
- Specified by:
ofAll
in interfaceImmutableLongBagFactory
- Since:
- 10.0
-
withAll
public ImmutableLongBag withAll(java.lang.Iterable<java.lang.Long> iterable)
- Specified by:
withAll
in interfaceImmutableLongBagFactory
- Since:
- 10.0
-
ofAll
public ImmutableLongBag ofAll(java.util.stream.LongStream items)
- Specified by:
ofAll
in interfaceImmutableLongBagFactory
- Since:
- 9.0
-
withAll
public ImmutableLongBag withAll(java.util.stream.LongStream items)
- Specified by:
withAll
in interfaceImmutableLongBagFactory
- Since:
- 9.0
-
-