Class ImmutableLongStackFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.stack.immutable.primitive.ImmutableLongStackFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongStackFactory
public class ImmutableLongStackFactoryImpl extends java.lang.Object implements ImmutableLongStackFactory
ImmutableLongStackFactoryImpl is a factory implementation which creates instances of typeImmutableLongStack
. This file was automatically generated from template file immutablePrimitiveStackFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableLongStackFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongStackFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongStack
empty()
ImmutableLongStack
of()
Same asImmutableLongStackFactory.empty()
.ImmutableLongStack
of(long one)
Same asImmutableLongStackFactory.with(long)
.ImmutableLongStack
of(long... items)
ImmutableLongStack
ofAll(java.lang.Iterable<java.lang.Long> iterable)
ImmutableLongStack
ofAll(java.util.stream.LongStream items)
ImmutableLongStack
ofAll(LongIterable items)
ImmutableLongStack
ofAllReversed(LongIterable items)
ImmutableLongStack
with()
Same asImmutableLongStackFactory.empty()
.ImmutableLongStack
with(long one)
ImmutableLongStack
with(long... items)
ImmutableLongStack
withAll(java.lang.Iterable<java.lang.Long> iterable)
ImmutableLongStack
withAll(java.util.stream.LongStream items)
ImmutableLongStack
withAll(LongIterable items)
ImmutableLongStack
withAllReversed(LongIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongStackFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongStack empty()
- Specified by:
empty
in interfaceImmutableLongStackFactory
-
of
public ImmutableLongStack of()
Description copied from interface:ImmutableLongStackFactory
Same asImmutableLongStackFactory.empty()
.- Specified by:
of
in interfaceImmutableLongStackFactory
-
with
public ImmutableLongStack with()
Description copied from interface:ImmutableLongStackFactory
Same asImmutableLongStackFactory.empty()
.- Specified by:
with
in interfaceImmutableLongStackFactory
-
of
public ImmutableLongStack of(long one)
Description copied from interface:ImmutableLongStackFactory
Same asImmutableLongStackFactory.with(long)
.- Specified by:
of
in interfaceImmutableLongStackFactory
-
with
public ImmutableLongStack with(long one)
- Specified by:
with
in interfaceImmutableLongStackFactory
-
of
public ImmutableLongStack of(long... items)
Description copied from interface:ImmutableLongStackFactory
- Specified by:
of
in interfaceImmutableLongStackFactory
-
with
public ImmutableLongStack with(long... items)
- Specified by:
with
in interfaceImmutableLongStackFactory
-
ofAll
public ImmutableLongStack ofAll(LongIterable items)
Description copied from interface:ImmutableLongStackFactory
- Specified by:
ofAll
in interfaceImmutableLongStackFactory
-
withAll
public ImmutableLongStack withAll(LongIterable items)
- Specified by:
withAll
in interfaceImmutableLongStackFactory
-
ofAll
public ImmutableLongStack ofAll(java.lang.Iterable<java.lang.Long> iterable)
Description copied from interface:ImmutableLongStackFactory
- Specified by:
ofAll
in interfaceImmutableLongStackFactory
- Since:
- 10.0
-
withAll
public ImmutableLongStack withAll(java.lang.Iterable<java.lang.Long> iterable)
- Specified by:
withAll
in interfaceImmutableLongStackFactory
- Since:
- 10.0
-
ofAllReversed
public ImmutableLongStack ofAllReversed(LongIterable items)
Description copied from interface:ImmutableLongStackFactory
- Specified by:
ofAllReversed
in interfaceImmutableLongStackFactory
-
withAllReversed
public ImmutableLongStack withAllReversed(LongIterable items)
- Specified by:
withAllReversed
in interfaceImmutableLongStackFactory
-
ofAll
public ImmutableLongStack ofAll(java.util.stream.LongStream items)
- Specified by:
ofAll
in interfaceImmutableLongStackFactory
- Since:
- 9.0
-
withAll
public ImmutableLongStack withAll(java.util.stream.LongStream items)
- Specified by:
withAll
in interfaceImmutableLongStackFactory
- Since:
- 9.0
-
-