Interface FixedSizeSetFactory
- All Known Implementing Classes:
FixedSizeSetFactoryImpl
public interface FixedSizeSetFactory
-
Method Summary
Modifier and TypeMethodDescription<T> FixedSizeSet<T>
empty()
<T> MutableSet<T>
fromStream
(Stream<? extends T> stream) <T> FixedSizeSet<T>
of()
Same asempty()
.<T> FixedSizeSet<T>
of
(T one) Same aswith(Object)
.<T> FixedSizeSet<T>
of
(T one, T two) Same aswith(Object, Object)
.<T> FixedSizeSet<T>
of
(T one, T two, T three) Same aswith(Object, Object, Object)
.<T> FixedSizeSet<T>
of
(T one, T two, T three, T four) Same aswith(Object, Object, Object, Object)
.<T> MutableSet<T>
Same aswithAll(Iterable)
.<T> FixedSizeSet<T>
with()
Same asempty()
.<T> FixedSizeSet<T>
with
(T one) <T> FixedSizeSet<T>
with
(T one, T two) <T> FixedSizeSet<T>
with
(T one, T two, T three) <T> FixedSizeSet<T>
with
(T one, T two, T three, T four) <T> MutableSet<T>
-
Method Details
-
empty
- Since:
- 6.0
-
of
Same asempty()
. -
with
Same asempty()
. -
of
Same aswith(Object)
. -
with
-
of
Same aswith(Object, Object)
. -
with
-
of
Same aswith(Object, Object, Object)
. -
with
-
of
Same aswith(Object, Object, Object, Object)
. -
with
-
ofAll
Same aswithAll(Iterable)
. -
withAll
-
fromStream
- Since:
- 10.0.0
-