Interface ImmutableIntStackFactory
- All Known Implementing Classes:
ImmutableIntStackFactoryImpl
public interface ImmutableIntStackFactory
A factory which creates instances of type
ImmutableIntStack
.
This file was automatically generated from template file immutablePrimitiveStackFactory.stg.- Since:
- 4.0.
-
Method Summary
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(Iterable<Integer> iterable)
Same aswithAll(Iterable)
.ImmutableIntStack
ofAll(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(Iterable<Integer> iterable)
ImmutableIntStack
withAll(IntStream items)
ImmutableIntStack
withAll(IntIterable items)
ImmutableIntStack
withAllReversed(IntIterable items)
-
Method Details
-
empty
ImmutableIntStack empty()- Since:
- 6.0
-
of
ImmutableIntStack of()Same asempty()
. -
with
ImmutableIntStack with()Same asempty()
. -
of
Same aswith(int)
. -
with
-
of
Same aswith(int[])
. -
with
-
ofAll
Same aswithAll(IntIterable)
. -
withAll
-
ofAll
Same aswithAll(Iterable)
. -
withAll
-
ofAllReversed
Same aswithAllReversed(IntIterable)
. -
withAllReversed
-
ofAll
- Since:
- 9.0
-
withAll
- Since:
- 9.0
-