Interface ImmutableIntStackFactory
-
- All Known Implementing Classes:
ImmutableIntStackFactoryImpl
public interface ImmutableIntStackFactory
A factory which creates instances of typeImmutableIntStack
. This file was automatically generated from template file immutablePrimitiveStackFactory.stg.- Since:
- 4.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImmutableIntStack
empty()
ImmutableIntStack
of()
Same asempty()
.ImmutableIntStack
of(int one)
Same aswith(int)
.ImmutableIntStack
of(int... items)
Same aswith(int[])
.ImmutableIntStack
ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Same aswithAll(Iterable)
.ImmutableIntStack
ofAll(java.util.stream.IntStream items)
ImmutableIntStack
ofAll(IntIterable items)
Same aswithAll(IntIterable)
.ImmutableIntStack
ofAllReversed(IntIterable items)
Same aswithAllReversed(IntIterable)
.ImmutableIntStack
with()
Same asempty()
.ImmutableIntStack
with(int one)
ImmutableIntStack
with(int... items)
ImmutableIntStack
withAll(java.lang.Iterable<java.lang.Integer> iterable)
ImmutableIntStack
withAll(java.util.stream.IntStream items)
ImmutableIntStack
withAll(IntIterable items)
ImmutableIntStack
withAllReversed(IntIterable items)
-
-
-
Method Detail
-
empty
ImmutableIntStack empty()
- Since:
- 6.0
-
of
ImmutableIntStack of()
Same asempty()
.
-
with
ImmutableIntStack with()
Same asempty()
.
-
of
ImmutableIntStack of(int one)
Same aswith(int)
.
-
with
ImmutableIntStack with(int one)
-
of
ImmutableIntStack of(int... items)
Same aswith(int[])
.
-
with
ImmutableIntStack with(int... items)
-
ofAll
ImmutableIntStack ofAll(IntIterable items)
Same aswithAll(IntIterable)
.
-
withAll
ImmutableIntStack withAll(IntIterable items)
-
ofAll
ImmutableIntStack ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Same aswithAll(Iterable)
.
-
withAll
ImmutableIntStack withAll(java.lang.Iterable<java.lang.Integer> iterable)
-
ofAllReversed
ImmutableIntStack ofAllReversed(IntIterable items)
Same aswithAllReversed(IntIterable)
.
-
withAllReversed
ImmutableIntStack withAllReversed(IntIterable items)
-
ofAll
ImmutableIntStack ofAll(java.util.stream.IntStream items)
- Since:
- 9.0
-
withAll
ImmutableIntStack withAll(java.util.stream.IntStream items)
- Since:
- 9.0
-
-