|
Side of Software Dated Collections Library 2.0 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of DatedSortedMap in sos.dated.util |
---|
Classes in sos.dated.util that implement DatedSortedMap | |
---|---|
class |
TreeMapByDate<K,V,D>
An implementation of DatedSortedMap that maintains a java.util.TreeMap
at each date where a change occurs, yielding fast date iterations and logarithmic
retrievals. |
class |
TreeMapByKey<K,V,D>
An implementation of DatedSortedMap that uses an underlying
TreeMap to
keep all keys in sorted order and to achieve fast access to all keys. |
Methods in sos.dated.util that return DatedSortedMap | ||
---|---|---|
static
|
Adapters.asDatedSortedMap(java.util.SortedMap<K,V> map,
D from,
D to)
Treats a non-dated sorted map as a dated sorted map between the specified dates. |
|
static
|
DatedCollections.checkedDatedSortedMap(DatedSortedMap<K,V,D> datedSortedMap,
java.lang.Class<K> keyType,
java.lang.Class<V> valueType)
Wraps a dated sorted map with one that requires keys and values to be of a given type. |
|
DatedSortedMap<K,V,D> |
DatedSortedMap.headMap(K toKey)
Returns a view of this dated map of all mappings whose keys precede toKey . |
|
DatedSortedMap<K,V,D> |
TreeMapByDate.headMap(K toKey)
|
|
DatedSortedMap<K,V,D> |
TreeMapByKey.headMap(K toKey)
|
|
DatedSortedMap<K,V,D> |
DatedSortedMap.subMap(K fromKey,
K toKey)
Returns a view of this dated map of all mappings whose keys fall between fromKey (inclusive) and toKey (exclusive). |
|
DatedSortedMap<K,V,D> |
TreeMapByDate.subMap(K fromKey,
K toKey)
|
|
DatedSortedMap<K,V,D> |
TreeMapByKey.subMap(K fromKey,
K toKey)
|
|
static
|
DatedCollections.synchronizedDatedSortedMap(DatedSortedMap<K,V,D> datedSortedMap)
Returns a synchronized, or thread-safe, view of a dated sorted map. |
|
DatedSortedMap<K,V,D> |
DatedSortedMap.tailMap(K fromKey)
Returns a view of this dated map of all mappings whose keys are greater than or equal to fromKey . |
|
DatedSortedMap<K,V,D> |
TreeMapByDate.tailMap(K fromKey)
|
|
DatedSortedMap<K,V,D> |
TreeMapByKey.tailMap(K fromKey)
|
|
static
|
DatedCollections.unmodifiableDatedSortedMap(DatedSortedMap<K,? extends V,D> datedSortedMap)
Returns an unmodifiable view of a dated sorted map. |
Methods in sos.dated.util with parameters of type DatedSortedMap | ||
---|---|---|
static
|
Adapters.asSortedMap(DatedSortedMap<K,V,D> datedSortedMap,
D at)
Returns an unmodifiable non-dated version of the specified dated sorted map at the specified date. |
|
static
|
Adapters.asSortedMap(DatedSortedMap<K,V,D> datedSortedMap,
D from,
D to)
Returns a modifiable non-dated version of the specified dated sorted map for the specified date range. |
|
static
|
DatedCollections.checkedDatedSortedMap(DatedSortedMap<K,V,D> datedSortedMap,
java.lang.Class<K> keyType,
java.lang.Class<V> valueType)
Wraps a dated sorted map with one that requires keys and values to be of a given type. |
|
static
|
DatedCollections.synchronizedDatedSortedMap(DatedSortedMap<K,V,D> datedSortedMap)
Returns a synchronized, or thread-safe, view of a dated sorted map. |
|
static
|
DatedCollections.unmodifiableDatedSortedMap(DatedSortedMap<K,? extends V,D> datedSortedMap)
Returns an unmodifiable view of a dated sorted map. |
Constructors in sos.dated.util with parameters of type DatedSortedMap | |
---|---|
TreeMapByDate(DatedSortedMap<K,? extends V,D> datedSortedMap)
Constructs a TreeMapByDate that initially contains the entries
of datedSortedMap . |
|
TreeMapByKey(DatedSortedMap<K,? extends V,D> datedSortedMap)
Creates a TreeMapByKey containing the entries
and date ranges of the specified
dated sorted map, ordered by the parameter's comparator object. |
|
Side of Software Dated Collections Library 2.0 |
||||||||
PREV NEXT | FRAMES NO FRAMES |