FixedSizeSetFactory
@Immutable public class FixedSizeSetFactoryImpl extends Object implements FixedSizeSetFactory
Constructor | Description |
---|---|
FixedSizeSetFactoryImpl() |
Modifier and Type | Method | Description |
---|---|---|
<T> FixedSizeSet<T> |
empty() |
|
<T> FixedSizeSet<T> |
of() |
Same as
FixedSizeSetFactory.empty() . |
<T> FixedSizeSet<T> |
of(T one) |
Same as
FixedSizeSetFactory.with(Object) . |
<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() |
Same as
FixedSizeSetFactory.empty() . |
<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 <T> FixedSizeSet<T> empty()
empty
in interface FixedSizeSetFactory
public <T> FixedSizeSet<T> of()
FixedSizeSetFactory
FixedSizeSetFactory.empty()
.of
in interface FixedSizeSetFactory
public <T> FixedSizeSet<T> with()
FixedSizeSetFactory
FixedSizeSetFactory.empty()
.with
in interface FixedSizeSetFactory
public <T> FixedSizeSet<T> of(T one)
FixedSizeSetFactory
FixedSizeSetFactory.with(Object)
.of
in interface FixedSizeSetFactory
public <T> FixedSizeSet<T> with(T one)
with
in interface FixedSizeSetFactory
public <T> FixedSizeSet<T> of(T one, T two)
FixedSizeSetFactory
of
in interface FixedSizeSetFactory
public <T> FixedSizeSet<T> with(T one, T two)
with
in interface FixedSizeSetFactory
public <T> FixedSizeSet<T> of(T one, T two, T three)
FixedSizeSetFactory
of
in interface FixedSizeSetFactory
public <T> FixedSizeSet<T> with(T one, T two, T three)
with
in interface FixedSizeSetFactory
public <T> FixedSizeSet<T> of(T one, T two, T three, T four)
FixedSizeSetFactory
of
in interface FixedSizeSetFactory
public <T> FixedSizeSet<T> with(T one, T two, T three, T four)
with
in interface FixedSizeSetFactory
public <T> MutableSet<T> ofAll(Iterable<? extends T> items)
FixedSizeSetFactory
ofAll
in interface FixedSizeSetFactory
public <T> MutableSet<T> withAll(Iterable<? extends T> items)
withAll
in interface FixedSizeSetFactory
Copyright © 2004–2017. All rights reserved.