Class MutableLongBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.mutable.primitive.MutableLongBagFactoryImpl
-
- All Implemented Interfaces:
MutableLongBagFactory
public class MutableLongBagFactoryImpl extends java.lang.Object implements MutableLongBagFactory
MutableLongBagFactoryImpl is a factory implementation which creates instances of typeMutableLongBag
. This file was automatically generated from template file mutablePrimitiveBagFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableLongBagFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableLongBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableLongBag
empty()
MutableLongBag
of()
Same asMutableLongBagFactory.empty()
.MutableLongBag
of(long... items)
Same asMutableLongBagFactory.with(long[])
.MutableLongBag
ofAll(java.lang.Iterable<java.lang.Long> iterable)
MutableLongBag
ofAll(java.util.stream.LongStream items)
MutableLongBag
ofAll(LongIterable items)
MutableLongBag
with()
Same asMutableLongBagFactory.empty()
.MutableLongBag
with(long... items)
MutableLongBag
withAll(java.lang.Iterable<java.lang.Long> iterable)
MutableLongBag
withAll(java.util.stream.LongStream items)
MutableLongBag
withAll(LongIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final MutableLongBagFactory INSTANCE
-
-
Method Detail
-
empty
public MutableLongBag empty()
- Specified by:
empty
in interfaceMutableLongBagFactory
-
of
public MutableLongBag of()
Description copied from interface:MutableLongBagFactory
Same asMutableLongBagFactory.empty()
.- Specified by:
of
in interfaceMutableLongBagFactory
-
with
public MutableLongBag with()
Description copied from interface:MutableLongBagFactory
Same asMutableLongBagFactory.empty()
.- Specified by:
with
in interfaceMutableLongBagFactory
-
of
public MutableLongBag of(long... items)
Description copied from interface:MutableLongBagFactory
Same asMutableLongBagFactory.with(long[])
.- Specified by:
of
in interfaceMutableLongBagFactory
-
with
public MutableLongBag with(long... items)
- Specified by:
with
in interfaceMutableLongBagFactory
-
ofAll
public MutableLongBag ofAll(LongIterable items)
Description copied from interface:MutableLongBagFactory
- Specified by:
ofAll
in interfaceMutableLongBagFactory
-
withAll
public MutableLongBag withAll(LongIterable items)
- Specified by:
withAll
in interfaceMutableLongBagFactory
-
ofAll
public MutableLongBag ofAll(java.lang.Iterable<java.lang.Long> iterable)
Description copied from interface:MutableLongBagFactory
- Specified by:
ofAll
in interfaceMutableLongBagFactory
- Since:
- 10.0
-
withAll
public MutableLongBag withAll(java.lang.Iterable<java.lang.Long> iterable)
- Specified by:
withAll
in interfaceMutableLongBagFactory
- Since:
- 10.0
-
ofAll
public MutableLongBag ofAll(java.util.stream.LongStream items)
- Specified by:
ofAll
in interfaceMutableLongBagFactory
- Since:
- 9.0
-
withAll
public MutableLongBag withAll(java.util.stream.LongStream items)
- Specified by:
withAll
in interfaceMutableLongBagFactory
- Since:
- 9.0
-
-