| Package | Description |
|---|---|
| org.eclipse.collections.api.factory.bag |
This package contains factory API for creating instance of type
Bag. |
| org.eclipse.collections.impl.bag.mutable |
This package contains implementations of the
MutableBag interface. |
| Modifier and Type | Method | Description |
|---|---|---|
<T> MultiReaderBag<T> |
MultiReaderBagFactory.empty() |
|
<T> MultiReaderBag<T> |
MultiReaderBagFactory.fromStream(Stream<? extends T> stream) |
|
default <T> MultiReaderBag<T> |
MultiReaderBagFactory.of() |
Same as
MultiReaderBagFactory.empty(). |
default <T> MultiReaderBag<T> |
MultiReaderBagFactory.of(T... elements) |
Same as
MultiReaderBagFactory.with(Object[]). |
default <T> MultiReaderBag<T> |
MultiReaderBagFactory.ofAll(Iterable<? extends T> items) |
|
default <T> MultiReaderBag<T> |
MultiReaderBagFactory.with() |
Same as
MultiReaderBagFactory.empty(). |
<T> MultiReaderBag<T> |
MultiReaderBagFactory.with(T... elements) |
|
<T> MultiReaderBag<T> |
MultiReaderBagFactory.withAll(Iterable<? extends T> items) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
MultiReaderHashBag<T> |
MultiReaderHashBag provides a thread-safe wrapper around a HashBag, using a ReentrantReadWriteLock.
|
| Modifier and Type | Method | Description |
|---|---|---|
<T> MultiReaderBag<T> |
MultiReaderMutableBagFactory.empty() |
|
<T> MultiReaderBag<T> |
MultiReaderMutableBagFactory.fromStream(Stream<? extends T> stream) |
|
<T> MultiReaderBag<T> |
MultiReaderMutableBagFactory.with(T... items) |
|
<T> MultiReaderBag<T> |
MultiReaderMutableBagFactory.withAll(Iterable<? extends T> iterable) |
Copyright © 2004–2019. All rights reserved.