Class ImmutableDoubleSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.immutable.primitive.ImmutableDoubleSetFactoryImpl
-
- All Implemented Interfaces:
ImmutableDoubleSetFactory
public class ImmutableDoubleSetFactoryImpl extends java.lang.Object implements ImmutableDoubleSetFactory
ImmutableDoubleSetFactoryImpl is a factory implementation which creates instances of typeImmutableDoubleSet
. This file was automatically generated from template file immutablePrimitiveSetFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableDoubleSetFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableDoubleSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableDoubleSet
empty()
ImmutableDoubleSet
of()
Same asImmutableDoubleSetFactory.empty()
.ImmutableDoubleSet
of(double one)
ImmutableDoubleSet
of(double... items)
ImmutableDoubleSet
ofAll(java.lang.Iterable<java.lang.Double> iterable)
ImmutableDoubleSet
ofAll(java.util.stream.DoubleStream items)
ImmutableDoubleSet
ofAll(DoubleIterable items)
ImmutableDoubleSet
with()
Same asImmutableDoubleSetFactory.empty()
.ImmutableDoubleSet
with(double one)
ImmutableDoubleSet
with(double... items)
ImmutableDoubleSet
withAll(java.lang.Iterable<java.lang.Double> iterable)
ImmutableDoubleSet
withAll(java.util.stream.DoubleStream items)
ImmutableDoubleSet
withAll(DoubleIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableDoubleSetFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableDoubleSet empty()
- Specified by:
empty
in interfaceImmutableDoubleSetFactory
-
of
public ImmutableDoubleSet of()
Description copied from interface:ImmutableDoubleSetFactory
Same asImmutableDoubleSetFactory.empty()
.- Specified by:
of
in interfaceImmutableDoubleSetFactory
-
with
public ImmutableDoubleSet with()
Description copied from interface:ImmutableDoubleSetFactory
Same asImmutableDoubleSetFactory.empty()
.- Specified by:
with
in interfaceImmutableDoubleSetFactory
-
of
public ImmutableDoubleSet of(double one)
Description copied from interface:ImmutableDoubleSetFactory
- Specified by:
of
in interfaceImmutableDoubleSetFactory
-
with
public ImmutableDoubleSet with(double one)
- Specified by:
with
in interfaceImmutableDoubleSetFactory
-
of
public ImmutableDoubleSet of(double... items)
Description copied from interface:ImmutableDoubleSetFactory
- Specified by:
of
in interfaceImmutableDoubleSetFactory
-
with
public ImmutableDoubleSet with(double... items)
- Specified by:
with
in interfaceImmutableDoubleSetFactory
-
ofAll
public ImmutableDoubleSet ofAll(DoubleIterable items)
Description copied from interface:ImmutableDoubleSetFactory
- Specified by:
ofAll
in interfaceImmutableDoubleSetFactory
-
withAll
public ImmutableDoubleSet withAll(DoubleIterable items)
- Specified by:
withAll
in interfaceImmutableDoubleSetFactory
-
ofAll
public ImmutableDoubleSet ofAll(java.lang.Iterable<java.lang.Double> iterable)
Description copied from interface:ImmutableDoubleSetFactory
- Specified by:
ofAll
in interfaceImmutableDoubleSetFactory
- Since:
- 10.0
-
withAll
public ImmutableDoubleSet withAll(java.lang.Iterable<java.lang.Double> iterable)
- Specified by:
withAll
in interfaceImmutableDoubleSetFactory
- Since:
- 10.0
-
ofAll
public ImmutableDoubleSet ofAll(java.util.stream.DoubleStream items)
- Specified by:
ofAll
in interfaceImmutableDoubleSetFactory
- Since:
- 9.0
-
withAll
public ImmutableDoubleSet withAll(java.util.stream.DoubleStream items)
- Specified by:
withAll
in interfaceImmutableDoubleSetFactory
- Since:
- 9.0
-
-