Class MutableLongSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.mutable.primitive.MutableLongSetFactoryImpl
-
- All Implemented Interfaces:
MutableLongSetFactory
public class MutableLongSetFactoryImpl extends java.lang.Object implements MutableLongSetFactory
MutableLongSetFactoryImpl is a factory implementation which creates instances of typeMutableLongSet. This file was automatically generated from template file mutablePrimitiveSetFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableLongSetFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableLongSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableLongSetempty()MutableLongSetof()Same asMutableLongSetFactory.empty().MutableLongSetof(long... items)Same asMutableLongSetFactory.with(long[]).MutableLongSetofAll(java.lang.Iterable<java.lang.Long> iterable)MutableLongSetofAll(java.util.stream.LongStream items)MutableLongSetofAll(LongIterable items)MutableLongSetwith()Same asMutableLongSetFactory.empty().MutableLongSetwith(long... items)MutableLongSetwithAll(java.lang.Iterable<java.lang.Long> iterable)MutableLongSetwithAll(java.util.stream.LongStream items)MutableLongSetwithAll(LongIterable items)MutableLongSetwithInitialCapacity(int capacity)Same asMutableLongSetFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableLongSetFactory INSTANCE
-
-
Method Detail
-
empty
public MutableLongSet empty()
- Specified by:
emptyin interfaceMutableLongSetFactory
-
of
public MutableLongSet of()
Description copied from interface:MutableLongSetFactorySame asMutableLongSetFactory.empty().- Specified by:
ofin interfaceMutableLongSetFactory
-
with
public MutableLongSet with()
Description copied from interface:MutableLongSetFactorySame asMutableLongSetFactory.empty().- Specified by:
within interfaceMutableLongSetFactory
-
withInitialCapacity
public MutableLongSet withInitialCapacity(int capacity)
Description copied from interface:MutableLongSetFactorySame asMutableLongSetFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableLongSetFactory
-
of
public MutableLongSet of(long... items)
Description copied from interface:MutableLongSetFactorySame asMutableLongSetFactory.with(long[]).- Specified by:
ofin interfaceMutableLongSetFactory
-
with
public MutableLongSet with(long... items)
- Specified by:
within interfaceMutableLongSetFactory
-
ofAll
public MutableLongSet ofAll(LongIterable items)
Description copied from interface:MutableLongSetFactory- Specified by:
ofAllin interfaceMutableLongSetFactory
-
withAll
public MutableLongSet withAll(LongIterable items)
- Specified by:
withAllin interfaceMutableLongSetFactory
-
ofAll
public MutableLongSet ofAll(java.lang.Iterable<java.lang.Long> iterable)
Description copied from interface:MutableLongSetFactory- Specified by:
ofAllin interfaceMutableLongSetFactory- Since:
- 10.0
-
withAll
public MutableLongSet withAll(java.lang.Iterable<java.lang.Long> iterable)
- Specified by:
withAllin interfaceMutableLongSetFactory- Since:
- 10.0
-
ofAll
public MutableLongSet ofAll(java.util.stream.LongStream items)
- Specified by:
ofAllin interfaceMutableLongSetFactory- Since:
- 9.0
-
withAll
public MutableLongSet withAll(java.util.stream.LongStream items)
- Specified by:
withAllin interfaceMutableLongSetFactory- Since:
- 9.0
-
-