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