public interface LinkedBlockingDequeStategy<T> extends IsQueueStrategy<LinkedBlockingDeque<T>,T>
Strategy for a linked blocking deque (as queue).
| Modifier and Type | Method and Description |
|---|---|
static <T> LinkedBlockingDequeStategy<T> |
create()
Creates a new linked blocking deque strategy.
|
default LinkedBlockingDeque<T> |
get()
Returns a new collection of requested type.
|
default LinkedBlockingDeque<T> |
get(Collection<T> collection)
Returns a new collection for the given collection.
|
isList, isQueue, isSetdefault LinkedBlockingDeque<T> get(Collection<T> collection)
IsCollectionStrategyReturns a new collection for the given collection.
get in interface IsCollectionStrategy<LinkedBlockingDeque<T>,T>get in interface IsQueueStrategy<LinkedBlockingDeque<T>,T>collection - input collectiondefault LinkedBlockingDeque<T> get()
IsCollectionStrategyReturns a new collection of requested type.
get in interface IsCollectionStrategy<LinkedBlockingDeque<T>,T>get in interface IsQueueStrategy<LinkedBlockingDeque<T>,T>static <T> LinkedBlockingDequeStategy<T> create()
Creates a new linked blocking deque strategy.
T - type for the objects in the queueCopyright © 2016–2017. All rights reserved.