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