MultiReaderMutableSetFactory
, MutableSetFactoryImpl
public interface MutableSetFactory
Modifier and Type | Method | Description |
---|---|---|
<T> MutableSet<T> |
empty() |
|
<T> MutableSet<T> |
of() |
Same as
empty() . |
<T> MutableSet<T> |
of(T... items) |
Same as
with(Object[]) . |
<T> MutableSet<T> |
ofAll(java.lang.Iterable<? extends T> items) |
Same as
withAll(Iterable) . |
<T> MutableSet<T> |
ofInitialCapacity(int capacity) |
Same as
empty() . |
<T> MutableSet<T> |
with() |
Same as
empty() . |
<T> MutableSet<T> |
with(T... items) |
|
<T> MutableSet<T> |
withAll(java.lang.Iterable<? extends T> items) |
|
<T> MutableSet<T> |
withInitialCapacity(int capacity) |
Same as
empty() . |
<T> MutableSet<T> empty()
<T> MutableSet<T> of()
empty()
.<T> MutableSet<T> with()
empty()
.<T> MutableSet<T> of(T... items)
with(Object[])
.<T> MutableSet<T> with(T... items)
<T> MutableSet<T> ofInitialCapacity(int capacity)
empty()
. but takes in initial capacity.<T> MutableSet<T> withInitialCapacity(int capacity)
empty()
. but takes in initial capacity.<T> MutableSet<T> ofAll(java.lang.Iterable<? extends T> items)
withAll(Iterable)
.<T> MutableSet<T> withAll(java.lang.Iterable<? extends T> items)
Copyright © 2004–2018. All rights reserved.