public interface MutableSetFactory
Modifier and Type | Method and 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(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(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(Iterable<? extends T> items)
withAll(Iterable)
.<T> MutableSet<T> withAll(Iterable<? extends T> items)
Copyright © 2004–2016. All rights reserved.