Uses of Class
org.eclipse.collections.impl.bag.mutable.SynchronizedBag
Package | Description |
---|---|
org.eclipse.collections.impl.bag.mutable |
This package contains implementations of the
MutableBag interface. |
-
Uses of SynchronizedBag in org.eclipse.collections.impl.bag.mutable
Methods in org.eclipse.collections.impl.bag.mutable that return SynchronizedBag Modifier and Type Method Description SynchronizedBag<T>
AbstractMutableBag. asSynchronized()
static <E, B extends MutableBag<E>>
SynchronizedBag<E>SynchronizedBag. of(B bag)
This method will take a MutableBag and wrap it directly in a SynchronizedBag.static <E, B extends MutableBag<E>>
SynchronizedBag<E>SynchronizedBag. of(B bag, Object lock)
This method will take a MutableBag and wrap it directly in a SynchronizedBag.