Class ImmutableIntStackFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.stack.immutable.primitive.ImmutableIntStackFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntStackFactory
public class ImmutableIntStackFactoryImpl extends Object implements ImmutableIntStackFactory
ImmutableIntStackFactoryImpl is a factory implementation which creates instances of typeImmutableIntStack. This file was automatically generated from template file immutablePrimitiveStackFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableIntStackFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntStackFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntStackempty()ImmutableIntStackof()ImmutableIntStackof(int one)ImmutableIntStackof(int... items)ImmutableIntStackofAll(Iterable<Integer> iterable)ImmutableIntStackofAll(IntStream items)ImmutableIntStackofAll(IntIterable items)ImmutableIntStackofAllReversed(IntIterable items)ImmutableIntStackwith()ImmutableIntStackwith(int one)ImmutableIntStackwith(int... items)ImmutableIntStackwithAll(Iterable<Integer> iterable)ImmutableIntStackwithAll(IntStream items)ImmutableIntStackwithAll(IntIterable items)ImmutableIntStackwithAllReversed(IntIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntStackFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntStack empty()
- Specified by:
emptyin interfaceImmutableIntStackFactory
-
of
public ImmutableIntStack of()
- Specified by:
ofin interfaceImmutableIntStackFactory
-
with
public ImmutableIntStack with()
- Specified by:
within interfaceImmutableIntStackFactory
-
of
public ImmutableIntStack of(int one)
- Specified by:
ofin interfaceImmutableIntStackFactory
-
with
public ImmutableIntStack with(int one)
- Specified by:
within interfaceImmutableIntStackFactory
-
of
public ImmutableIntStack of(int... items)
- Specified by:
ofin interfaceImmutableIntStackFactory
-
with
public ImmutableIntStack with(int... items)
- Specified by:
within interfaceImmutableIntStackFactory
-
ofAll
public ImmutableIntStack ofAll(IntIterable items)
- Specified by:
ofAllin interfaceImmutableIntStackFactory
-
withAll
public ImmutableIntStack withAll(IntIterable items)
- Specified by:
withAllin interfaceImmutableIntStackFactory
-
ofAll
public ImmutableIntStack ofAll(Iterable<Integer> iterable)
- Specified by:
ofAllin interfaceImmutableIntStackFactory- Since:
- 10.0
-
withAll
public ImmutableIntStack withAll(Iterable<Integer> iterable)
- Specified by:
withAllin interfaceImmutableIntStackFactory- Since:
- 10.0
-
ofAllReversed
public ImmutableIntStack ofAllReversed(IntIterable items)
- Specified by:
ofAllReversedin interfaceImmutableIntStackFactory
-
withAllReversed
public ImmutableIntStack withAllReversed(IntIterable items)
- Specified by:
withAllReversedin interfaceImmutableIntStackFactory
-
ofAll
public ImmutableIntStack ofAll(IntStream items)
- Specified by:
ofAllin interfaceImmutableIntStackFactory- Since:
- 9.0
-
withAll
public ImmutableIntStack withAll(IntStream items)
- Specified by:
withAllin interfaceImmutableIntStackFactory- Since:
- 9.0
-
-