public interface IsDequeStrategy<D extends Deque<T>,T> extends IsCollectionStrategy<D,T>
Base for deque strategies.
| Modifier and Type | Method and Description |
|---|---|
D |
get()
Returns a new collection of requested type.
|
D |
get(Collection<T> collection)
Returns a new collection for the given collection.
|
default boolean |
isList()
Test if the collection is a list.
|
default boolean |
isQueue()
Test if the collection is a queue.
|
default boolean |
isSet()
Test if the collection is a set.
|
default boolean isList()
IsCollectionStrategyTest if the collection is a list.
default boolean isSet()
IsCollectionStrategyTest if the collection is a set.
default boolean isQueue()
IsCollectionStrategyTest if the collection is a queue.
D get(Collection<T> collection)
IsCollectionStrategyReturns a new collection for the given collection.
D get()
IsCollectionStrategyReturns a new collection of requested type.
Copyright © 2016–2017. All rights reserved.