Interface FixedSizeSetFactory
-
public interface FixedSizeSetFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <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>ofAll(Iterable<? extends T> items)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>withAll(Iterable<? extends T> items)
-
-
-
Method Detail
-
empty
<T> FixedSizeSet<T> empty()
- Since:
- 6.0
-
of
<T> FixedSizeSet<T> of()
Same asempty().
-
with
<T> FixedSizeSet<T> with()
Same asempty().
-
of
<T> FixedSizeSet<T> of(T one)
Same aswith(Object).
-
with
<T> FixedSizeSet<T> with(T one)
-
of
<T> FixedSizeSet<T> of(T one, T two)
Same aswith(Object, Object).
-
with
<T> FixedSizeSet<T> with(T one, T two)
-
of
<T> FixedSizeSet<T> of(T one, T two, T three)
Same aswith(Object, Object, Object).
-
with
<T> FixedSizeSet<T> with(T one, T two, T three)
-
of
<T> FixedSizeSet<T> of(T one, T two, T three, T four)
Same aswith(Object, Object, Object, Object).
-
with
<T> FixedSizeSet<T> with(T one, T two, T three, T four)
-
ofAll
<T> MutableSet<T> ofAll(Iterable<? extends T> items)
Same aswithAll(Iterable).
-
withAll
<T> MutableSet<T> withAll(Iterable<? extends T> items)
-
fromStream
<T> MutableSet<T> fromStream(Stream<? extends T> stream)
- Since:
- 10.0.0
-
-