Class MutableDoubleSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.mutable.primitive.MutableDoubleSetFactoryImpl
-
- All Implemented Interfaces:
MutableDoubleSetFactory
public class MutableDoubleSetFactoryImpl extends java.lang.Object implements MutableDoubleSetFactory
MutableDoubleSetFactoryImpl is a factory implementation which creates instances of typeMutableDoubleSet
. This file was automatically generated from template file mutablePrimitiveSetFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableDoubleSetFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableDoubleSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableDoubleSet
empty()
MutableDoubleSet
of()
Same asMutableDoubleSetFactory.empty()
.MutableDoubleSet
of(double... items)
MutableDoubleSet
ofAll(java.lang.Iterable<java.lang.Double> iterable)
MutableDoubleSet
ofAll(java.util.stream.DoubleStream items)
MutableDoubleSet
ofAll(DoubleIterable items)
MutableDoubleSet
with()
Same asMutableDoubleSetFactory.empty()
.MutableDoubleSet
with(double... items)
MutableDoubleSet
withAll(java.lang.Iterable<java.lang.Double> iterable)
MutableDoubleSet
withAll(java.util.stream.DoubleStream items)
MutableDoubleSet
withAll(DoubleIterable items)
MutableDoubleSet
withInitialCapacity(int capacity)
Same asMutableDoubleSetFactory.empty()
.
-
-
-
Field Detail
-
INSTANCE
public static final MutableDoubleSetFactory INSTANCE
-
-
Method Detail
-
empty
public MutableDoubleSet empty()
- Specified by:
empty
in interfaceMutableDoubleSetFactory
-
of
public MutableDoubleSet of()
Description copied from interface:MutableDoubleSetFactory
Same asMutableDoubleSetFactory.empty()
.- Specified by:
of
in interfaceMutableDoubleSetFactory
-
with
public MutableDoubleSet with()
Description copied from interface:MutableDoubleSetFactory
Same asMutableDoubleSetFactory.empty()
.- Specified by:
with
in interfaceMutableDoubleSetFactory
-
withInitialCapacity
public MutableDoubleSet withInitialCapacity(int capacity)
Description copied from interface:MutableDoubleSetFactory
Same asMutableDoubleSetFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableDoubleSetFactory
-
of
public MutableDoubleSet of(double... items)
Description copied from interface:MutableDoubleSetFactory
- Specified by:
of
in interfaceMutableDoubleSetFactory
-
with
public MutableDoubleSet with(double... items)
- Specified by:
with
in interfaceMutableDoubleSetFactory
-
ofAll
public MutableDoubleSet ofAll(DoubleIterable items)
Description copied from interface:MutableDoubleSetFactory
- Specified by:
ofAll
in interfaceMutableDoubleSetFactory
-
withAll
public MutableDoubleSet withAll(DoubleIterable items)
- Specified by:
withAll
in interfaceMutableDoubleSetFactory
-
ofAll
public MutableDoubleSet ofAll(java.lang.Iterable<java.lang.Double> iterable)
Description copied from interface:MutableDoubleSetFactory
- Specified by:
ofAll
in interfaceMutableDoubleSetFactory
- Since:
- 10.0
-
withAll
public MutableDoubleSet withAll(java.lang.Iterable<java.lang.Double> iterable)
- Specified by:
withAll
in interfaceMutableDoubleSetFactory
- Since:
- 10.0
-
ofAll
public MutableDoubleSet ofAll(java.util.stream.DoubleStream items)
- Specified by:
ofAll
in interfaceMutableDoubleSetFactory
- Since:
- 9.0
-
withAll
public MutableDoubleSet withAll(java.util.stream.DoubleStream items)
- Specified by:
withAll
in interfaceMutableDoubleSetFactory
- Since:
- 9.0
-
-