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 MutableLongBagFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableLongBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableLongBagempty()MutableLongBagof()Same asMutableLongBagFactory.empty().MutableLongBagof(long... items)Same asMutableLongBagFactory.with(long[]).MutableLongBagofAll(java.lang.Iterable<java.lang.Long> iterable)MutableLongBagofAll(java.util.stream.LongStream items)MutableLongBagofAll(LongIterable items)MutableLongBagwith()Same asMutableLongBagFactory.empty().MutableLongBagwith(long... items)MutableLongBagwithAll(java.lang.Iterable<java.lang.Long> iterable)MutableLongBagwithAll(java.util.stream.LongStream items)MutableLongBagwithAll(LongIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final MutableLongBagFactory INSTANCE
-
-
Method Detail
-
empty
public MutableLongBag empty()
- Specified by:
emptyin interfaceMutableLongBagFactory
-
of
public MutableLongBag of()
Description copied from interface:MutableLongBagFactorySame asMutableLongBagFactory.empty().- Specified by:
ofin interfaceMutableLongBagFactory
-
with
public MutableLongBag with()
Description copied from interface:MutableLongBagFactorySame asMutableLongBagFactory.empty().- Specified by:
within interfaceMutableLongBagFactory
-
of
public MutableLongBag of(long... items)
Description copied from interface:MutableLongBagFactorySame asMutableLongBagFactory.with(long[]).- Specified by:
ofin interfaceMutableLongBagFactory
-
with
public MutableLongBag with(long... items)
- Specified by:
within interfaceMutableLongBagFactory
-
ofAll
public MutableLongBag ofAll(LongIterable items)
Description copied from interface:MutableLongBagFactory- Specified by:
ofAllin interfaceMutableLongBagFactory
-
withAll
public MutableLongBag withAll(LongIterable items)
- Specified by:
withAllin interfaceMutableLongBagFactory
-
ofAll
public MutableLongBag ofAll(java.lang.Iterable<java.lang.Long> iterable)
Description copied from interface:MutableLongBagFactory- Specified by:
ofAllin interfaceMutableLongBagFactory- Since:
- 10.0
-
withAll
public MutableLongBag withAll(java.lang.Iterable<java.lang.Long> iterable)
- Specified by:
withAllin interfaceMutableLongBagFactory- Since:
- 10.0
-
ofAll
public MutableLongBag ofAll(java.util.stream.LongStream items)
- Specified by:
ofAllin interfaceMutableLongBagFactory- Since:
- 9.0
-
withAll
public MutableLongBag withAll(java.util.stream.LongStream items)
- Specified by:
withAllin interfaceMutableLongBagFactory- Since:
- 9.0
-
-