Class ImmutableLongStackFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.stack.immutable.primitive.ImmutableLongStackFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongStackFactory
public class ImmutableLongStackFactoryImpl extends 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 ImmutableLongStackFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongStackFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongStackempty()ImmutableLongStackof()ImmutableLongStackof(long one)ImmutableLongStackof(long... items)ImmutableLongStackofAll(Iterable<Long> iterable)ImmutableLongStackofAll(LongStream items)ImmutableLongStackofAll(LongIterable items)ImmutableLongStackofAllReversed(LongIterable items)ImmutableLongStackwith()ImmutableLongStackwith(long one)ImmutableLongStackwith(long... items)ImmutableLongStackwithAll(Iterable<Long> iterable)ImmutableLongStackwithAll(LongStream items)ImmutableLongStackwithAll(LongIterable items)ImmutableLongStackwithAllReversed(LongIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongStackFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongStack empty()
- Specified by:
emptyin interfaceImmutableLongStackFactory
-
of
public ImmutableLongStack of()
- Specified by:
ofin interfaceImmutableLongStackFactory
-
with
public ImmutableLongStack with()
- Specified by:
within interfaceImmutableLongStackFactory
-
of
public ImmutableLongStack of(long one)
- Specified by:
ofin interfaceImmutableLongStackFactory
-
with
public ImmutableLongStack with(long one)
- Specified by:
within interfaceImmutableLongStackFactory
-
of
public ImmutableLongStack of(long... items)
- Specified by:
ofin interfaceImmutableLongStackFactory
-
with
public ImmutableLongStack with(long... items)
- Specified by:
within interfaceImmutableLongStackFactory
-
ofAll
public ImmutableLongStack ofAll(LongIterable items)
- Specified by:
ofAllin interfaceImmutableLongStackFactory
-
withAll
public ImmutableLongStack withAll(LongIterable items)
- Specified by:
withAllin interfaceImmutableLongStackFactory
-
ofAll
public ImmutableLongStack ofAll(Iterable<Long> iterable)
- Specified by:
ofAllin interfaceImmutableLongStackFactory- Since:
- 10.0
-
withAll
public ImmutableLongStack withAll(Iterable<Long> iterable)
- Specified by:
withAllin interfaceImmutableLongStackFactory- Since:
- 10.0
-
ofAllReversed
public ImmutableLongStack ofAllReversed(LongIterable items)
- Specified by:
ofAllReversedin interfaceImmutableLongStackFactory
-
withAllReversed
public ImmutableLongStack withAllReversed(LongIterable items)
- Specified by:
withAllReversedin interfaceImmutableLongStackFactory
-
ofAll
public ImmutableLongStack ofAll(LongStream items)
- Specified by:
ofAllin interfaceImmutableLongStackFactory- Since:
- 9.0
-
withAll
public ImmutableLongStack withAll(LongStream items)
- Specified by:
withAllin interfaceImmutableLongStackFactory- Since:
- 9.0
-
-