public class FixedSizeSetFactoryImpl extends Object implements FixedSizeSetFactory
| Modifier and Type | Field and Description |
|---|---|
static FixedSizeSetFactory |
INSTANCE |
| Constructor and Description |
|---|
FixedSizeSetFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T> FixedSizeSet<T> |
empty() |
<T> MutableSet<T> |
fromStream(Stream<? extends T> stream) |
<T> FixedSizeSet<T> |
of() |
<T> FixedSizeSet<T> |
of(T one) |
<T> FixedSizeSet<T> |
of(T one,
T two) |
<T> FixedSizeSet<T> |
of(T one,
T two,
T three) |
<T> FixedSizeSet<T> |
of(T one,
T two,
T three,
T four) |
<T> MutableSet<T> |
ofAll(Iterable<? extends T> items) |
<T> FixedSizeSet<T> |
with() |
<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) |
public static final FixedSizeSetFactory INSTANCE
public <T> FixedSizeSet<T> empty()
empty in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> of()
of in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> with()
with in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> of(T one)
of in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> with(T one)
with in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> of(T one, T two)
of in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> with(T one, T two)
with in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> of(T one, T two, T three)
of in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> with(T one, T two, T three)
with in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> of(T one, T two, T three, T four)
of in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> with(T one, T two, T three, T four)
with in interface FixedSizeSetFactorypublic <T> MutableSet<T> ofAll(Iterable<? extends T> items)
ofAll in interface FixedSizeSetFactorypublic <T> MutableSet<T> withAll(Iterable<? extends T> items)
withAll in interface FixedSizeSetFactorypublic <T> MutableSet<T> fromStream(Stream<? extends T> stream)
fromStream in interface FixedSizeSetFactoryCopyright © 2004–2022. All rights reserved.