|
Side of Software Dated Collections Library 2.0 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of DatedSortedSet in sos.dated.util |
---|
Classes in sos.dated.util that implement DatedSortedSet | |
---|---|
class |
TreeSetByDate<E,D>
An implementation of DatedSet that uses a TreeMapByDate as its underlying
data structure. |
class |
TreeSetByElement<E,D>
An implementation of DatedSet that uses a TreeMapByKey as its underlying
data structure to keep its elements in sorted order and to provide fast
indexing to elements. |
Methods in sos.dated.util that return DatedSortedSet | ||
---|---|---|
static
|
Adapters.asDatedSortedSet(java.util.SortedSet<E> set,
D from,
D to)
Treats a non-dated sorted set as a dated sorted set between the specified dates. |
|
static
|
DatedCollections.checkedDatedSortedSet(DatedSortedSet<E,D> datedSortedSet,
java.lang.Class<E> type)
Wraps a dated sorted set with one that requires elements to be of a given type. |
|
DatedSortedSet<E,D> |
DatedSortedSet.headSet(E toElement)
Returns a view of this dated set of all elements that precede toElement . |
|
DatedSortedSet<E,D> |
TreeSetByDate.headSet(E toElement)
|
|
DatedSortedSet<E,D> |
TreeSetByElement.headSet(E toElement)
|
|
DatedSortedSet<E,D> |
DatedSortedSet.subSet(E fromElement,
E toElement)
Returns a view of this dated set of all elements that fall between fromElement (inclusive) and toElement (exclusive). |
|
DatedSortedSet<E,D> |
TreeSetByDate.subSet(E fromElement,
E toElement)
|
|
DatedSortedSet<E,D> |
TreeSetByElement.subSet(E fromElement,
E toElement)
|
|
static
|
DatedCollections.synchronizedDatedSortedSet(DatedSortedSet<E,D> datedSortedSet)
Returns a synchronized, or thread-safe, view of a dated sorted set. |
|
DatedSortedSet<E,D> |
DatedSortedSet.tailSet(E fromElement)
Returns a view of this dated set of all elements greater than or equal to fromElement . |
|
DatedSortedSet<E,D> |
TreeSetByDate.tailSet(E fromElement)
|
|
DatedSortedSet<E,D> |
TreeSetByElement.tailSet(E fromElement)
|
|
static
|
DatedCollections.unmodifiableDatedSortedSet(DatedSortedSet<E,D> datedSortedSet)
Returns an unmodifiable view of a dated sorted set. |
Methods in sos.dated.util with parameters of type DatedSortedSet | ||
---|---|---|
static
|
Adapters.asSortedSet(DatedSortedSet<E,D> datedSet,
D at)
Returns an unmodifiable non-dated version of the specified dated sorted set at the specified date. |
|
static
|
Adapters.asSortedSet(DatedSortedSet<E,D> datedSortedSet,
D from,
D to)
Returns a modifiable non-dated version of the specified dated sorted set for the specified date range. |
|
static
|
DatedCollections.checkedDatedSortedSet(DatedSortedSet<E,D> datedSortedSet,
java.lang.Class<E> type)
Wraps a dated sorted set with one that requires elements to be of a given type. |
|
static
|
DatedCollections.synchronizedDatedSortedSet(DatedSortedSet<E,D> datedSortedSet)
Returns a synchronized, or thread-safe, view of a dated sorted set. |
|
static
|
DatedCollections.unmodifiableDatedSortedSet(DatedSortedSet<E,D> datedSortedSet)
Returns an unmodifiable view of a dated sorted set. |
Constructors in sos.dated.util with parameters of type DatedSortedSet | |
---|---|
TreeSetByDate(DatedSortedSet<E,D> datedSortedSet)
Creates a TreeSetByDate containing the elements and date ranges of the specified dated sorted set, ordered by the parameter's comparator object. |
|
TreeSetByElement(DatedSortedSet<E,D> datedSortedSet)
Creates a TreeSetByElement containing the elements
and date ranges of the specified
dated sorted set, ordered by the parameter's comparator object. |
|
Side of Software Dated Collections Library 2.0 |
||||||||
PREV NEXT | FRAMES NO FRAMES |