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 ImmutableDoubleSetFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableDoubleSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableDoubleSetempty()ImmutableDoubleSetof()Same asImmutableDoubleSetFactory.empty().ImmutableDoubleSetof(double one)ImmutableDoubleSetof(double... items)ImmutableDoubleSetofAll(java.lang.Iterable<java.lang.Double> iterable)ImmutableDoubleSetofAll(java.util.stream.DoubleStream items)ImmutableDoubleSetofAll(DoubleIterable items)ImmutableDoubleSetwith()Same asImmutableDoubleSetFactory.empty().ImmutableDoubleSetwith(double one)ImmutableDoubleSetwith(double... items)ImmutableDoubleSetwithAll(java.lang.Iterable<java.lang.Double> iterable)ImmutableDoubleSetwithAll(java.util.stream.DoubleStream items)ImmutableDoubleSetwithAll(DoubleIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableDoubleSetFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableDoubleSet empty()
- Specified by:
emptyin interfaceImmutableDoubleSetFactory
-
of
public ImmutableDoubleSet of()
Description copied from interface:ImmutableDoubleSetFactorySame asImmutableDoubleSetFactory.empty().- Specified by:
ofin interfaceImmutableDoubleSetFactory
-
with
public ImmutableDoubleSet with()
Description copied from interface:ImmutableDoubleSetFactorySame asImmutableDoubleSetFactory.empty().- Specified by:
within interfaceImmutableDoubleSetFactory
-
of
public ImmutableDoubleSet of(double one)
Description copied from interface:ImmutableDoubleSetFactory- Specified by:
ofin interfaceImmutableDoubleSetFactory
-
with
public ImmutableDoubleSet with(double one)
- Specified by:
within interfaceImmutableDoubleSetFactory
-
of
public ImmutableDoubleSet of(double... items)
Description copied from interface:ImmutableDoubleSetFactory- Specified by:
ofin interfaceImmutableDoubleSetFactory
-
with
public ImmutableDoubleSet with(double... items)
- Specified by:
within interfaceImmutableDoubleSetFactory
-
ofAll
public ImmutableDoubleSet ofAll(DoubleIterable items)
Description copied from interface:ImmutableDoubleSetFactory- Specified by:
ofAllin interfaceImmutableDoubleSetFactory
-
withAll
public ImmutableDoubleSet withAll(DoubleIterable items)
- Specified by:
withAllin interfaceImmutableDoubleSetFactory
-
ofAll
public ImmutableDoubleSet ofAll(java.lang.Iterable<java.lang.Double> iterable)
Description copied from interface:ImmutableDoubleSetFactory- Specified by:
ofAllin interfaceImmutableDoubleSetFactory- Since:
- 10.0
-
withAll
public ImmutableDoubleSet withAll(java.lang.Iterable<java.lang.Double> iterable)
- Specified by:
withAllin interfaceImmutableDoubleSetFactory- Since:
- 10.0
-
ofAll
public ImmutableDoubleSet ofAll(java.util.stream.DoubleStream items)
- Specified by:
ofAllin interfaceImmutableDoubleSetFactory- Since:
- 9.0
-
withAll
public ImmutableDoubleSet withAll(java.util.stream.DoubleStream items)
- Specified by:
withAllin interfaceImmutableDoubleSetFactory- Since:
- 9.0
-
-