Class ImmutableLongSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.immutable.primitive.ImmutableLongSetFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongSetFactory
public class ImmutableLongSetFactoryImpl extends Object implements ImmutableLongSetFactory
ImmutableLongSetFactoryImpl is a factory implementation which creates instances of typeImmutableLongSet. This file was automatically generated from template file immutablePrimitiveSetFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableLongSetFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongSetempty()ImmutableLongSetof()ImmutableLongSetof(long one)ImmutableLongSetof(long... items)ImmutableLongSetofAll(Iterable<Long> iterable)ImmutableLongSetofAll(LongStream items)ImmutableLongSetofAll(LongIterable items)ImmutableLongSetwith()ImmutableLongSetwith(long one)ImmutableLongSetwith(long... items)ImmutableLongSetwithAll(Iterable<Long> iterable)ImmutableLongSetwithAll(LongStream items)ImmutableLongSetwithAll(LongIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongSetFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongSet empty()
- Specified by:
emptyin interfaceImmutableLongSetFactory
-
of
public ImmutableLongSet of()
- Specified by:
ofin interfaceImmutableLongSetFactory
-
with
public ImmutableLongSet with()
- Specified by:
within interfaceImmutableLongSetFactory
-
of
public ImmutableLongSet of(long one)
- Specified by:
ofin interfaceImmutableLongSetFactory
-
with
public ImmutableLongSet with(long one)
- Specified by:
within interfaceImmutableLongSetFactory
-
of
public ImmutableLongSet of(long... items)
- Specified by:
ofin interfaceImmutableLongSetFactory
-
with
public ImmutableLongSet with(long... items)
- Specified by:
within interfaceImmutableLongSetFactory
-
ofAll
public ImmutableLongSet ofAll(LongIterable items)
- Specified by:
ofAllin interfaceImmutableLongSetFactory
-
withAll
public ImmutableLongSet withAll(LongIterable items)
- Specified by:
withAllin interfaceImmutableLongSetFactory
-
ofAll
public ImmutableLongSet ofAll(Iterable<Long> iterable)
- Specified by:
ofAllin interfaceImmutableLongSetFactory- Since:
- 10.0
-
withAll
public ImmutableLongSet withAll(Iterable<Long> iterable)
- Specified by:
withAllin interfaceImmutableLongSetFactory- Since:
- 10.0
-
ofAll
public ImmutableLongSet ofAll(LongStream items)
- Specified by:
ofAllin interfaceImmutableLongSetFactory- Since:
- 9.0
-
withAll
public ImmutableLongSet withAll(LongStream items)
- Specified by:
withAllin interfaceImmutableLongSetFactory- Since:
- 9.0
-
-