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