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 ImmutableIntStackFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntStackFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntStack
empty()
ImmutableIntStack
of()
ImmutableIntStack
of(int one)
ImmutableIntStack
of(int... items)
ImmutableIntStack
ofAll(Iterable<Integer> iterable)
ImmutableIntStack
ofAll(IntStream items)
ImmutableIntStack
ofAll(IntIterable items)
ImmutableIntStack
ofAllReversed(IntIterable items)
ImmutableIntStack
with()
ImmutableIntStack
with(int one)
ImmutableIntStack
with(int... items)
ImmutableIntStack
withAll(Iterable<Integer> iterable)
ImmutableIntStack
withAll(IntStream items)
ImmutableIntStack
withAll(IntIterable items)
ImmutableIntStack
withAllReversed(IntIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntStackFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntStack empty()
- Specified by:
empty
in interfaceImmutableIntStackFactory
-
of
public ImmutableIntStack of()
- Specified by:
of
in interfaceImmutableIntStackFactory
-
with
public ImmutableIntStack with()
- Specified by:
with
in interfaceImmutableIntStackFactory
-
of
public ImmutableIntStack of(int one)
- Specified by:
of
in interfaceImmutableIntStackFactory
-
with
public ImmutableIntStack with(int one)
- Specified by:
with
in interfaceImmutableIntStackFactory
-
of
public ImmutableIntStack of(int... items)
- Specified by:
of
in interfaceImmutableIntStackFactory
-
with
public ImmutableIntStack with(int... items)
- Specified by:
with
in interfaceImmutableIntStackFactory
-
ofAll
public ImmutableIntStack ofAll(IntIterable items)
- Specified by:
ofAll
in interfaceImmutableIntStackFactory
-
withAll
public ImmutableIntStack withAll(IntIterable items)
- Specified by:
withAll
in interfaceImmutableIntStackFactory
-
ofAll
public ImmutableIntStack ofAll(Iterable<Integer> iterable)
- Specified by:
ofAll
in interfaceImmutableIntStackFactory
- Since:
- 10.0
-
withAll
public ImmutableIntStack withAll(Iterable<Integer> iterable)
- Specified by:
withAll
in interfaceImmutableIntStackFactory
- Since:
- 10.0
-
ofAllReversed
public ImmutableIntStack ofAllReversed(IntIterable items)
- Specified by:
ofAllReversed
in interfaceImmutableIntStackFactory
-
withAllReversed
public ImmutableIntStack withAllReversed(IntIterable items)
- Specified by:
withAllReversed
in interfaceImmutableIntStackFactory
-
ofAll
public ImmutableIntStack ofAll(IntStream items)
- Specified by:
ofAll
in interfaceImmutableIntStackFactory
- Since:
- 9.0
-
withAll
public ImmutableIntStack withAll(IntStream items)
- Specified by:
withAll
in interfaceImmutableIntStackFactory
- Since:
- 9.0
-
-