public interface TreeMapStrategy<K extends Comparable<K>,V> extends IsNavigableMapStrategy<K,V>
Strategy for a tree map (as navigable map).
| Modifier and Type | Method and Description |
|---|---|
static <K extends Comparable<K>,V> |
create()
Creates a new tree map strategy.
|
default TreeMap<K,V> |
get()
Returns a new map for the used strategy.
|
default TreeMap<K,V> |
get(Map<K,V> map)
Returns a new map for the used strategy initialized with the elements of another map.
|
isAbstractMap, isConcurrentMap, isHashtable, isNavigableMap, isSortedMapdefault TreeMap<K,V> get()
IsMapStrategyReturns a new map for the used strategy.
get in interface IsMapStrategy<K extends Comparable<K>,V>get in interface IsNavigableMapStrategy<K extends Comparable<K>,V>default TreeMap<K,V> get(Map<K,V> map)
IsMapStrategyReturns a new map for the used strategy initialized with the elements of another map.
get in interface IsMapStrategy<K extends Comparable<K>,V>get in interface IsNavigableMapStrategy<K extends Comparable<K>,V>map - input mapstatic <K extends Comparable<K>,V> TreeMapStrategy<K,V> create()
Creates a new tree map strategy.
K - type of the keys in the mapV - type of the values in the mapCopyright © 2016–2017. All rights reserved.