public interface IsListStrategy<L extends List<T>,T> extends IsCollectionStrategy<L,T>
Base for list strategies.
| Modifier and Type | Method and Description |
|---|---|
L |
get()
Returns a new collection of requested type.
|
L |
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.
L get(Collection<T> collection)
IsCollectionStrategyReturns a new collection for the given collection.
L get()
IsCollectionStrategyReturns a new collection of requested type.
Copyright © 2016–2017. All rights reserved.