Interface ImmutableLongBagFactory
-
- All Known Implementing Classes:
ImmutableLongBagFactoryImpl
public interface ImmutableLongBagFactory
A factory which creates instances of typeImmutableLongBag
. 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 ImmutableLongBag
empty()
ImmutableLongBag
of()
Same asempty()
.ImmutableLongBag
of(long one)
Same aswith(long)
.ImmutableLongBag
of(long... items)
Same aswith(long[])
.ImmutableLongBag
ofAll(java.lang.Iterable<java.lang.Long> iterable)
Same aswithAll(Iterable)
.ImmutableLongBag
ofAll(java.util.stream.LongStream items)
ImmutableLongBag
ofAll(LongIterable items)
Same aswithAll(LongIterable)
.ImmutableLongBag
with()
Same asempty()
.ImmutableLongBag
with(long one)
ImmutableLongBag
with(long... items)
ImmutableLongBag
withAll(java.lang.Iterable<java.lang.Long> iterable)
ImmutableLongBag
withAll(java.util.stream.LongStream items)
ImmutableLongBag
withAll(LongIterable items)
-
-
-
Method Detail
-
empty
ImmutableLongBag empty()
- Since:
- 6.0
-
of
ImmutableLongBag of()
Same asempty()
.
-
with
ImmutableLongBag with()
Same asempty()
.
-
of
ImmutableLongBag of(long one)
Same aswith(long)
.
-
with
ImmutableLongBag with(long one)
-
of
ImmutableLongBag of(long... items)
Same aswith(long[])
.
-
with
ImmutableLongBag with(long... items)
-
ofAll
ImmutableLongBag ofAll(LongIterable items)
Same aswithAll(LongIterable)
.
-
withAll
ImmutableLongBag withAll(LongIterable items)
-
ofAll
ImmutableLongBag ofAll(java.lang.Iterable<java.lang.Long> iterable)
Same aswithAll(Iterable)
.
-
withAll
ImmutableLongBag withAll(java.lang.Iterable<java.lang.Long> iterable)
-
ofAll
ImmutableLongBag ofAll(java.util.stream.LongStream items)
- Since:
- 9.0
-
withAll
ImmutableLongBag withAll(java.util.stream.LongStream items)
- Since:
- 9.0
-
-