JTemporal Home
Tutorial
A B C D E F G H I K L M N O P R S T U V W

A

AbstractTemporalAttribute<V> - Class in net.sf.jtemporal
Features common to the TemporalAttributes.
AbstractTemporalAttribute() - Constructor for class net.sf.jtemporal.AbstractTemporalAttribute
 
AbstractTemporalSet<V> - Class in net.sf.jtemporal
Features common to the MultiMaps.
AbstractTemporalSet() - Constructor for class net.sf.jtemporal.AbstractTemporalSet
 
AbstractTimedObject<V> - Class in net.sf.jtemporal
Associates an Object to a Period.
AbstractTimedObject() - Constructor for class net.sf.jtemporal.AbstractTimedObject
 
add(Object) - Method in class net.sf.jtemporal.util.EmptySet
 
add(Object) - Method in class net.sf.jtemporal.util.ReadOnlySet
 
add(Object) - Method in class net.sf.jtemporal.util.SingleElementSet
 
addAll(Collection) - Method in class net.sf.jtemporal.util.EmptySet
 
addAll(Collection) - Method in class net.sf.jtemporal.util.ReadOnlySet
 
addAll(Collection) - Method in class net.sf.jtemporal.util.SingleElementSet
 

B

beginAtomicOperation() - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
beginAtomicOperation() - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
beginAtomicOperation() - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
beginAtomicOperation() - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Tells the storage that the JTemporal client is calling a method that can result in multiples updates in the storage.
beginAtomicOperation() - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
beginAtomicOperation() - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Tells the storage that the JTemporal client is calling a method that can result in multiples updates in the storage.
beginAtomicOperation() - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 

C

CachedTimeSeries<V> - Class in net.sf.jtemporal
Caches an external TimeSeries (for ex. to hand code a database access).
CachedTimeSeries(int, CachedTimeSeries.MissingElementHandler<V>) - Constructor for class net.sf.jtemporal.CachedTimeSeries
Creates a READ-ONLY CachedTimeSeries.
CachedTimeSeries(int, CachedTimeSeries.MissingElementHandler<V>, CachedTimeSeries.ChangeHandler<V>) - Constructor for class net.sf.jtemporal.CachedTimeSeries
Creates a normal instance of CachedTimeSeries
CachedTimeSeries.ChangeHandler<V> - Interface in net.sf.jtemporal
Applies the changes on the underlying data source.
CachedTimeSeries.MissingElementHandler<V> - Interface in net.sf.jtemporal
Reacts on missing elements.
clear() - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
clear() - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
clear(LazyTemporalAttributeStorage<V>) - Method in interface net.sf.jtemporal.spi.LazyTemporalAttributeStorage.ChangeHandler
Invoked when TimeSeries.remove(Instant) has been called.
clear() - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
clear() - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
clear() - Method in interface net.sf.jtemporal.spi.PeriodStorage
Removes all the stored periods.
clear() - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Removes all the stored mappings.
clear() - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
clear() - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Removes all the stored mappings.
clear() - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
clear() - Method in interface net.sf.jtemporal.TemporalAttribute
Removes all mappings from this map (optional operation).
clear() - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
clear() - Method in interface net.sf.jtemporal.TemporalSet
Removes all the mappings from this map.
clear() - Method in class net.sf.jtemporal.TemporalSetImpl
 
clear() - Method in class net.sf.jtemporal.TreeTemporalSet
 
clear() - Method in class net.sf.jtemporal.util.EmptySet
 
clear() - Method in class net.sf.jtemporal.util.LightLRUCache
Empties the cache.
clear() - Method in class net.sf.jtemporal.util.ReadOnlySet
 
clear() - Method in class net.sf.jtemporal.util.SingleElementMap
 
clear() - Method in class net.sf.jtemporal.util.SingleElementSet
 
clearCache() - Method in class net.sf.jtemporal.CachedTimeSeries
Clears the underlying cache.
clearCache() - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
clone() - Method in class net.sf.jtemporal.util.EmptyIterator
 
clone() - Method in class net.sf.jtemporal.util.SingleElementMap
 
clone() - Method in class net.sf.jtemporal.util.SingleElementSet
 
close() - Method in interface net.sf.jtemporal.util.CloseableIterator
Closes the iterator.
close() - Method in class net.sf.jtemporal.util.EmptyIterator
 
close() - Method in class net.sf.jtemporal.util.IteratorFilter
Closes the iterator.
close() - Method in class net.sf.jtemporal.util.SimpleCloseableIterator
 
CloseableIterator<V> - Interface in net.sf.jtemporal.util
An iterator the should be closed as soon it is not used anymore.
CompactPeriodStorage - Class in net.sf.jtemporal.spi
A sorted storage for Periods, intended to allocate a small amount of memory; fast for small collections, but does not scale well for insertions in large collections.
CompactPeriodStorage() - Constructor for class net.sf.jtemporal.spi.CompactPeriodStorage
 
CompactTemporalSetStorage - Class in net.sf.jtemporal.spi
Uses a HashMap containing CompactPeriodStorages
Note: this implementation is not synchronized.
CompactTemporalSetStorage() - Constructor for class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
COMPARATOR - Static variable in class net.sf.jtemporal.spi.StartComparator
The shared instance.
compare(Object, Object) - Method in class net.sf.jtemporal.spi.StartComparator
If both objects are Periods, they are compared as periods otherwise they are compared as instants (taking the start instant if one is a Period).
compareTo(Object) - Method in interface net.sf.jtemporal.Instant
Compares this object with the specified object for order.
compareTo(Period) - Method in class net.sf.jtemporal.Period
Orders first by start and if start instants are equals, by end.
contains(Period) - Method in class net.sf.jtemporal.Period
Returns true if this period contains of is equal to p.
contains(Instant) - Method in class net.sf.jtemporal.Period
Returns true if this period contains the instant i.
contains(Instant, Object) - Method in interface net.sf.jtemporal.TemporalSet
Returns true if there is a mapping for this value at the given instant.
contains(Instant, Object) - Method in class net.sf.jtemporal.TemporalSetImpl
 
contains(Instant, Object) - Method in class net.sf.jtemporal.TreeTemporalSet
 
contains(Object) - Method in class net.sf.jtemporal.util.EmptySet
 
contains(Object) - Method in class net.sf.jtemporal.util.ReadOnlySet
 
contains(Object) - Method in class net.sf.jtemporal.util.SingleElementSet
 
containsAll(Collection) - Method in class net.sf.jtemporal.util.EmptySet
 
containsAll(Collection) - Method in class net.sf.jtemporal.util.ReadOnlySet
 
containsAll(Collection) - Method in class net.sf.jtemporal.util.SingleElementSet
 
containsInstant(Instant) - Method in class net.sf.jtemporal.CachedTimeSeries
 
containsInstant(Instant) - Method in interface net.sf.jtemporal.TemporalAttribute
Returns true if this map contains a mapping for the specified Instant.
containsInstant(Instant) - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
containsInstant(Instant) - Method in interface net.sf.jtemporal.TimeSeries
Returns true if this TimeSeries contains a mapping for the specified Instant.
containsKey(Object) - Method in class net.sf.jtemporal.util.SingleElementMap
 
containsValue(Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
containsValue(Instant, Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
containsValue(Object) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
containsValue(Object, Period) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
containsValue(Object) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
containsValue(Object, Period) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
containsValue(Object) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns true if this map maps one or more Periods to the specified value.
containsValue(Object, Period) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns true if this map maps one or more Periods to the specified value, during the specified period.
containsValue(Object) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
containsValue(Object, Period) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
containsValue(Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns true if this storage contains one or more mappings for the specified value.
containsValue(Instant, Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns true if this storage contains a mapping for the specified value at the given instant.
containsValue(Object) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
containsValue(Object, Period) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
containsValue(Object) - Method in interface net.sf.jtemporal.TemporalAttribute
Returns true if this map maps one or more Periods to the specified value.
containsValue(Object) - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
containsValue(Object) - Method in interface net.sf.jtemporal.TemporalSet
Returns true if there is a mapping for the specified value.
containsValue(Object) - Method in class net.sf.jtemporal.TemporalSetImpl
 
containsValue(Object) - Method in class net.sf.jtemporal.TreeTemporalSet
 
containsValue(Object) - Method in class net.sf.jtemporal.util.SingleElementMap
 
create(Period, V) - Method in interface net.sf.jtemporal.spi.TimedObjectFactory
 
currentSize() - Method in class net.sf.jtemporal.util.LightLRUCache
The number of entries currently in the cache.

D

destroy(TimedObject<V>) - Method in interface net.sf.jtemporal.spi.TimedObjectFactory
 

E

EmptyIterator - Class in net.sf.jtemporal.util
Immutable empty read-only iterator (singleton).
EmptySet - Class in net.sf.jtemporal.util
Immutable empty read-only set (singleton).
endAtomicOperation() - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
endAtomicOperation() - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
endAtomicOperation() - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
endAtomicOperation() - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Tells the storage that an atomic operation has finished.
endAtomicOperation() - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
endAtomicOperation() - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Tells the storage that an atomic operation has finished.
endAtomicOperation() - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
entryIterator() - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
entryIterator(Instant) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
entryIterator(Period) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
entryIterator(Period, Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
entryIterator() - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
entryIterator(Period) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
entryIterator() - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
entryIterator(Period) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
entryIterator() - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Iterates over all the entries of the storage.
entryIterator(Period) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Iterates over all the entries of the storage that intersects the period P.
entryIterator() - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
entryIterator(Period) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
entryIterator() - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Iterates over all the entries of the storage.
entryIterator(Instant) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns an iterator looping over the entries contained et the given instant.
entryIterator(Period) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Iterates over all the entries of the storage that intersects the period P.
entryIterator(Period, Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Iterates over all the entries of the storage for the given value that intersects the given period.
entryIterator() - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
entryIterator(Period) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
entrySet() - Method in interface net.sf.jtemporal.TemporalAttribute
Returns a set view of the entries (instances of TimedObject) contained in this map.
entrySet() - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
entrySet() - Method in interface net.sf.jtemporal.TemporalSet
Returns a set view of the entries (instances of TimedObject) contained in this map.
entrySet() - Method in class net.sf.jtemporal.TemporalSetImpl
 
entrySet() - Method in class net.sf.jtemporal.TreeTemporalSet
 
entrySet() - Method in class net.sf.jtemporal.util.SingleElementMap
 
equals(Object) - Method in class net.sf.jtemporal.AbstractTemporalAttribute
Compares the specified object with this map for content equality.
equals(Object) - Method in class net.sf.jtemporal.AbstractTemporalSet
 
equals(Object) - Method in class net.sf.jtemporal.AbstractTimedObject
 
equals(Object) - Method in class net.sf.jtemporal.Period
Compares this object against the specified object.
equals(Object) - Method in class net.sf.jtemporal.util.SingleElementMap
 
equals(Object) - Method in class net.sf.jtemporal.util.SingleElementSet
 
except(Period) - Method in class net.sf.jtemporal.Period
Returns the part of this period which is not part of p.
extent() - Method in class net.sf.jtemporal.AbstractTemporalAttribute
 
extent(Object) - Method in class net.sf.jtemporal.AbstractTemporalSet
 
extent() - Method in interface net.sf.jtemporal.TemporalAttribute
Returns a period enclosing firstInstant() and lastInstant()
extent(Object) - Method in interface net.sf.jtemporal.TemporalSet
Return a period enclosing firstInstant(value) and lastInstantvalue()

F

firstInstant() - Method in interface net.sf.jtemporal.TemporalAttribute
Returns the first (lowest) instant currently in this temporal map.
firstInstant() - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
firstInstant(Object) - Method in interface net.sf.jtemporal.TemporalSet
Returns the first (lowest) instant currently defined for the given value.
firstInstant(Object) - Method in class net.sf.jtemporal.TemporalSetImpl
 
firstInstant(Object) - Method in class net.sf.jtemporal.TreeTemporalSet
 
firstPeriod() - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
firstPeriod(Period) - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
firstPeriod(Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
firstPeriod() - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
firstPeriod(Period) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
firstPeriod() - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
firstPeriod(Period) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
firstPeriod() - Method in interface net.sf.jtemporal.spi.PeriodStorage
Returns the first (lowest) period currently in this storage, or null if any is found.
firstPeriod() - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns the first (lowest) period currently in this storage.
firstPeriod(Period) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns the first (lowest) period currently in this storage, that intersects the given period.
firstPeriod() - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
firstPeriod(Period) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
firstPeriod(Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns the first (lowest) period currently defined for the given value.
firstPeriod() - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
firstPeriod(Period) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
firstPeriod() - Method in interface net.sf.jtemporal.TemporalAttribute
Returns the first (lowest) period currently in this temporal map.
firstPeriod() - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
firstPeriod(Object) - Method in interface net.sf.jtemporal.TemporalSet
Returns the first (lowest) period currently defined for the given value.
firstPeriod(Object) - Method in class net.sf.jtemporal.TemporalSetImpl
 
firstPeriod(Object) - Method in class net.sf.jtemporal.TreeTemporalSet
 

G

get(Instant) - Method in class net.sf.jtemporal.CachedTimeSeries
 
get(Instant) - Method in interface net.sf.jtemporal.ReadableTemporalAttribute
Returns the object valid at the given instant.
get(Instant) - Method in interface net.sf.jtemporal.TemporalAttribute
Returns the value to which this map maps the specified Instant.
get(Instant) - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
get(Instant) - Method in interface net.sf.jtemporal.TimeSeries
Gets the value currently associated to the i instant.
get(Object) - Method in class net.sf.jtemporal.util.LightLRUCache
Retrieves an entry.
get(Object) - Method in class net.sf.jtemporal.util.SingleElementMap
 
getAlwaysPeriod() - Method in interface net.sf.jtemporal.spi.LazyTemporalAttributeStorage.MissingRangeHandler
JTemporal does not know what your implementation of Instant is.
getEnd() - Method in class net.sf.jtemporal.Period
The instant delimiting the end of this period.
getEntry(Instant) - Method in class net.sf.jtemporal.AbstractTemporalAttribute
 
getEntry(Instant) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
getEntry(Instant) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
getEntry(Instant) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns the entry valid at the given instant, if any is found.
getEntry(Instant) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
getEntry(Instant) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
getEntry(Instant) - Method in interface net.sf.jtemporal.TemporalAttribute
Returns the entry active at the given instant.
getEntry(Instant) - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
getEntryEndingAt(Instant) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
getEntryEndingAt(Instant) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
getEntryEndingAt(Instant) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns the entry finishing exactly at the given instant, if any is found.
getEntryEndingAt(Instant) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
getEntryEndingAt(Instant) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
getEntryStartingAt(Instant) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
getEntryStartingAt(Instant) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
getEntryStartingAt(Instant) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns the entry starting exactly at the given instant, if any is found.
getEntryStartingAt(Instant) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
getEntryStartingAt(Instant) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
getHashTimeSeries() - Method in class net.sf.jtemporal.WeakTimeSeriesFactory
Deprecated. Creates a new TimeSeries, internally linked to this mgr.
getHashTimeSeries(MissingInstantHandler) - Method in class net.sf.jtemporal.WeakTimeSeriesFactory
Deprecated. Creates a new TimeSeries, internally linked to this mgr.
getInstance() - Static method in class net.sf.jtemporal.util.EmptyIterator
Given that the iterator is stateless, this is a singleton.
getInstance() - Static method in class net.sf.jtemporal.util.EmptySet
 
getLastFetched() - Method in class net.sf.jtemporal.util.SimpleCloseableIterator
Returns the last object that has been retrieved using the SimpleCloseableIterator.next() method.
getPeriod() - Method in class net.sf.jtemporal.AbstractTimedObject
Must always return the same Period.
getPeriod() - Method in class net.sf.jtemporal.SimpleTimedObject
 
getPeriod(Instant) - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
getPeriod(Instant, Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
getPeriod(Instant) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
getPeriod(Instant) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
getPeriod(Instant) - Method in interface net.sf.jtemporal.spi.PeriodStorage
Returns the period valid at the specified instant.
getPeriod(Instant) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns the period that encloses the given instant, if any is found.
getPeriod(Instant) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
getPeriod(Instant, Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns the period of the mapping valid at the specified instant for the given value.
getPeriod(Instant) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
getPeriod(Instant) - Method in interface net.sf.jtemporal.TemporalAttribute
Returns the period that has a value associated at specified instant.
getPeriod(Instant) - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
getPeriod(Instant, Object) - Method in interface net.sf.jtemporal.TemporalSet
Returns the period of the mapping valid at the specified instant for the given value.
getPeriod(Instant, Object) - Method in class net.sf.jtemporal.TemporalSetImpl
 
getPeriod() - Method in interface net.sf.jtemporal.TimedObject
Must always return the same Period.
getPeriod(Instant, Object) - Method in class net.sf.jtemporal.TreeTemporalSet
 
getPeriodEndingAt(Instant) - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
getPeriodEndingAt(Instant, Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
getPeriodEndingAt(Instant) - Method in interface net.sf.jtemporal.spi.PeriodStorage
Returns the period finishing exactly at the given instant, if any is found.
getPeriodEndingAt(Instant, Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns the period finishing exactly at the given instant, for the given value, if any is found.
getPeriodStartingAt(Instant) - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
getPeriodStartingAt(Instant, Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
getPeriodStartingAt(Instant) - Method in interface net.sf.jtemporal.spi.PeriodStorage
Returns the period starting exactly at the given instant, if any is found.
getPeriodStartingAt(Instant, Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns the period starting exactly at the given instant, for the given value, if any is found.
getStart() - Method in class net.sf.jtemporal.Period
The instant delimiting the beginning of this period.
getStorage() - Method in class net.sf.jtemporal.TemporalAttributeImpl
Returns the storage that has been passed to the constructor to build this TemporalAttribute.
getValue() - Method in class net.sf.jtemporal.AbstractTimedObject
Must always return the same reference of value.
getValue() - Method in class net.sf.jtemporal.SimpleTimedObject
 
getValue(Instant) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
getValue(Instant) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
getValue(Instant) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns the value to which this map maps the specified Instant.
getValue(Instant) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
getValue(Instant) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
getValue() - Method in interface net.sf.jtemporal.TimedObject
Must always return the same reference of value.

H

handleMissingElement(TimeSeries, Instant) - Method in interface net.sf.jtemporal.MissingInstantHandler
Deprecated. This method is called when get(Instant) is called on the timeseries and no value is found.
hashCode() - Method in class net.sf.jtemporal.AbstractTimedObject
Computes an hash code for this TimedObject.
hashCode() - Method in class net.sf.jtemporal.Period
Computes a hash code for this Period.
hashCode() - Method in class net.sf.jtemporal.util.SingleElementMap
 
hashCode() - Method in class net.sf.jtemporal.util.SingleElementSet
 
hasNext() - Method in interface net.sf.jtemporal.util.CloseableIterator
As soon the method returns false the cursor is automatically closed.
hasNext() - Method in class net.sf.jtemporal.util.EmptyIterator
 
hasNext() - Method in class net.sf.jtemporal.util.IteratorFilter
 
hasNext() - Method in class net.sf.jtemporal.util.SimpleCloseableIterator
 
hasNext() - Method in class net.sf.jtemporal.util.SingleElementIterator
 

I

Instant - Interface in net.sf.jtemporal
You must implement this interface (basically a Comparable) to represent time.
intersect(Period) - Method in class net.sf.jtemporal.Period
Returns a period representing the common part in the two periods.
intersect(TimedObject, Period) - Static method in class net.sf.jtemporal.SimpleTimedObject
Returns a new SimpleTimedObject representing the common part in the two periods.
isEmpty() - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
isEmpty(Period) - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
isEmpty() - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
isEmpty(Instant) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
isEmpty() - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
isEmpty(Period) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
isEmpty() - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
isEmpty(Period) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
isEmpty() - Method in interface net.sf.jtemporal.spi.PeriodStorage
Returns true if this storage does not contain objects.
isEmpty(Period) - Method in interface net.sf.jtemporal.spi.PeriodStorage
Returns true if this storage does not contain objects intersecting the given period.
isEmpty() - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns true if this storage does not contain objects.
isEmpty(Period) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns true if this storage does not contain objects intersecting the given period.
isEmpty() - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
isEmpty(Period) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
isEmpty() - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns true if this storage does not contain entries.
isEmpty(Instant) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns true if this storage does not contain entries at the given instant.
isEmpty() - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
isEmpty(Period) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
isEmpty() - Method in interface net.sf.jtemporal.TemporalAttribute
Returns true if this map contains no Period-value mappings.
isEmpty() - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
isEmpty() - Method in interface net.sf.jtemporal.TemporalSet
Returns true if this map contains no Period-value mappings.
isEmpty(Instant) - Method in interface net.sf.jtemporal.TemporalSet
Returns true if this map does not contain mappings valid at the given intant.
isEmpty() - Method in class net.sf.jtemporal.TemporalSetImpl
 
isEmpty(Instant) - Method in class net.sf.jtemporal.TemporalSetImpl
 
isEmpty() - Method in class net.sf.jtemporal.TreeTemporalSet
 
isEmpty(Instant) - Method in class net.sf.jtemporal.TreeTemporalSet
 
isEmpty() - Method in class net.sf.jtemporal.util.EmptySet
 
isEmpty() - Method in class net.sf.jtemporal.util.ReadOnlySet
 
isEmpty() - Method in class net.sf.jtemporal.util.SingleElementMap
 
isEmpty() - Method in class net.sf.jtemporal.util.SingleElementSet
 
isNegativeInfinity() - Method in interface net.sf.jtemporal.Instant
Tells whether this Instant is the negative infinity.
isOpen() - Method in interface net.sf.jtemporal.util.CloseableIterator
Checks whether the iterator is open, or already closed.
isOpen() - Method in class net.sf.jtemporal.util.EmptyIterator
 
isOpen() - Method in class net.sf.jtemporal.util.IteratorFilter
 
isOpen() - Method in class net.sf.jtemporal.util.SimpleCloseableIterator
 
isPositiveInfinity() - Method in interface net.sf.jtemporal.Instant
Tells whether this Instant is the positive infinity.
iterator() - Method in class net.sf.jtemporal.util.EmptySet
 
iterator() - Method in class net.sf.jtemporal.util.ReadOnlySet
 
iterator() - Method in class net.sf.jtemporal.util.SingleElementSet
 
IteratorFilter - Class in net.sf.jtemporal.util
A proxy over an existing iterator, that filters some entries.
IteratorFilter(Iterator) - Constructor for class net.sf.jtemporal.util.IteratorFilter
If the passed iterator is instanceof CloseableIterator then it will closed when this iterator is closed.

K

keySet() - Method in class net.sf.jtemporal.util.SingleElementMap
 

L

lastInstant() - Method in interface net.sf.jtemporal.TemporalAttribute
Returns the last (highest) instant currently in this temporal map.
lastInstant() - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
lastInstant(Object) - Method in interface net.sf.jtemporal.TemporalSet
Returns the last (highest) instant currently defined for the given value.
lastInstant(Object) - Method in class net.sf.jtemporal.TemporalSetImpl
 
lastInstant(Object) - Method in class net.sf.jtemporal.TreeTemporalSet
 
lastPeriod() - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
lastPeriod(Period) - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
lastPeriod(Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
lastPeriod() - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
lastPeriod(Period) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
lastPeriod() - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
lastPeriod(Period) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
lastPeriod() - Method in interface net.sf.jtemporal.spi.PeriodStorage
Returns the last (highest) period currently in this storage or null if empty.
lastPeriod() - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns the last (highest) period currently in this storage.
lastPeriod(Period) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns the last (highest) period currently in this storage, that intersects the given period.
lastPeriod() - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
lastPeriod(Period) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
lastPeriod(Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns the last (highest) period currently defined for the given value.
lastPeriod() - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
lastPeriod(Period) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
lastPeriod() - Method in interface net.sf.jtemporal.TemporalAttribute
Returns the last (highest) period currently in this temporal map.
lastPeriod() - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
lastPeriod(Object) - Method in interface net.sf.jtemporal.TemporalSet
Returns the last (highest) period currently defined for the given value.
lastPeriod(Object) - Method in class net.sf.jtemporal.TemporalSetImpl
 
lastPeriod(Object) - Method in class net.sf.jtemporal.TreeTemporalSet
 
LazyTemporalAttributeStorage<V> - Class in net.sf.jtemporal.spi
This storage is based on a cache whose size grows lazily, until all the underlying data is in the cache.
LazyTemporalAttributeStorage(LazyTemporalAttributeStorage.MissingRangeHandler<V>) - Constructor for class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
Instantiates a read only LazyTemporalAttributeStorage.
LazyTemporalAttributeStorage(LazyTemporalAttributeStorage.MissingRangeHandler<V>, LazyTemporalAttributeStorage.ChangeHandler<V>) - Constructor for class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
Instantiates a read-write LazyTemporalAttributeStorage.
LazyTemporalAttributeStorage.ChangeHandler<V> - Interface in net.sf.jtemporal.spi
Applies the changes on the underlying data source.
LazyTemporalAttributeStorage.MissingRangeHandler<V> - Interface in net.sf.jtemporal.spi
Loads the data from the real physical storage into the the LazyTemporalAttributeStorage cache, when additional data is requested.
LightLRUCache<K,V> - Class in net.sf.jtemporal.util
A lightweight fast LRU cache, based on a HashMap and a linked list.
LightLRUCache(int) - Constructor for class net.sf.jtemporal.util.LightLRUCache
Creates a new LRU cache, of the given size.
LightLRUCache(int, float) - Constructor for class net.sf.jtemporal.util.LightLRUCache
Creates a new LRU cache, of the given size, whose internal HashMap has the given load factor

M

maxSize() - Method in class net.sf.jtemporal.util.LightLRUCache
The maximum number of entries.
meets(Period) - Method in class net.sf.jtemporal.Period
Returns true if this period meets p.
meetsAfter(Period) - Method in class net.sf.jtemporal.Period
Returns true if this period meets and succeeds p.
meetsBefore(Period) - Method in class net.sf.jtemporal.Period
Returns true if this period meets and precedes p.
MissingInstantHandler - Interface in net.sf.jtemporal
Deprecated.  

N

net.sf.jtemporal - package net.sf.jtemporal
Main package
net.sf.jtemporal.spi - package net.sf.jtemporal.spi
Interfaces and implementations of storages.
net.sf.jtemporal.util - package net.sf.jtemporal.util
Generic independent tool classes.
next() - Method in class net.sf.jtemporal.util.EmptyIterator
 
next() - Method in class net.sf.jtemporal.util.IteratorFilter
 
next() - Method in class net.sf.jtemporal.util.SimpleCloseableIterator
 
next() - Method in class net.sf.jtemporal.util.SingleElementIterator
 

O

ORMTemporalAttributeStorage<V> - Class in net.sf.jtemporal.spi
An implementation of TemporalAttributeStorage#, based on a TreeMap, mapped by an ORM tool.
ORMTemporalAttributeStorage(SortedMap<Period, TimedObject<V>>, TimedObjectFactory<V>) - Constructor for class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
You specify an instance of SortedMap to be used internally by the storage.
overlaps(Period) - Method in class net.sf.jtemporal.Period
Returns true if there exists an intersection between the two periods.

P

Period - Class in net.sf.jtemporal
Represents a "half-open" immutable time range (which includes the start instant, but not the end instant).
Period(Instant, Instant) - Constructor for class net.sf.jtemporal.Period
Constructs an immutable Instant instance.
periodIterator(Period) - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
periodIterator() - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
periodIterator(Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
periodIterator() - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
periodIterator(Period) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
periodIterator() - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
periodIterator(Period) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
periodIterator(Period) - Method in interface net.sf.jtemporal.spi.PeriodStorage
Iterates over all the periods of the storage that intersects the given period.
periodIterator() - Method in interface net.sf.jtemporal.spi.PeriodStorage
Iterates over all the periods of the entries.
periodIterator() - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Iterates over all the periods of the storage.
periodIterator(Period) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Iterates over all the periods of the storage that intersects the period P.
periodIterator() - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
periodIterator(Period) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
periodIterator(Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Iterates over all the periods of the entries having the given value.
periodIterator() - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
periodIterator(Period) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
periodSet() - Method in interface net.sf.jtemporal.TemporalAttribute
Returns a set view of the periods contained in this map.
periodSet() - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
periodSet(Object) - Method in interface net.sf.jtemporal.TemporalSet
Returns a set view of the periods contained in this map for the give value.
periodSet(Object) - Method in class net.sf.jtemporal.TemporalSetImpl
 
periodSet(Object) - Method in class net.sf.jtemporal.TreeTemporalSet
 
PeriodStorage - Interface in net.sf.jtemporal.spi
A storage for periods (sorted).
populated(Period) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
Called by the implementation of LazyTemporalAttributeStorage.MissingRangeHandler.populateRange(LazyTemporalAttributeStorage, Period) to to tell which Period (or additional Period) can now considered as complete in the cache.
populateElement(CachedTimeSeries<V>, Instant) - Method in interface net.sf.jtemporal.CachedTimeSeries.MissingElementHandler
This method is called when get(Instant) is called on the timeseries and no value is found in the cache.
populateEntryEndingAt(LazyTemporalAttributeStorage<V>, Instant) - Method in interface net.sf.jtemporal.spi.LazyTemporalAttributeStorage.MissingRangeHandler
When the LazyTemporalAttributeStorage calls you back using this method you have to:
1- load the entry when end instant is equal to instant, if any exists.
populateRange(LazyTemporalAttributeStorage<V>, Period) - Method in interface net.sf.jtemporal.spi.LazyTemporalAttributeStorage.MissingRangeHandler
When the LazyTemporalAttributeStorage calls you back using this method you have to:
1- Populate at least this storage with at least all the entries existing intersecting the given period (=range), by calling the method LazyTemporalAttributeStorage.putInCache(Period, Object)
It does not matter if you reload already loaded records, provided that they are identical.
precedes(Period) - Method in class net.sf.jtemporal.Period
Return true is this period precedes p.
precedes(Instant) - Method in class net.sf.jtemporal.Period
Return true is this period precedes i.
precedingPeriod(Period) - Method in class net.sf.jtemporal.Period
Returns the part of this period that precedes p, or null if p.start < this.start
put(CachedTimeSeries<V>, Instant, V) - Method in interface net.sf.jtemporal.CachedTimeSeries.ChangeHandler
Invoked when TimeSeries.put(Instant, Object) has been called.
put(Instant, V) - Method in class net.sf.jtemporal.CachedTimeSeries
 
put(Period) - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
put(Period, Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
put(LazyTemporalAttributeStorage<V>, Period, Object) - Method in interface net.sf.jtemporal.spi.LazyTemporalAttributeStorage.ChangeHandler
Invoked when LazyTemporalAttributeStorage#put(Instant,Object) has been called.
put(Period, Object) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
put(Period, Object) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
put(Period) - Method in interface net.sf.jtemporal.spi.PeriodStorage
Stores a period.
put(Period, Object) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Stores a mapping (entry, tuple, row) composed by period and value.
put(Period, Object) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
put(Period, Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Stores a mapping (entry, tuple, row) composed by period and value.
put(Period, Object) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
put(Period, V) - Method in interface net.sf.jtemporal.TemporalAttribute
Associates the specified value with the specified Period in this map (optional operation).
put(Period, V) - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
put(Period, V) - Method in interface net.sf.jtemporal.TemporalSet
Associates the specified value with the specified Period in this map.
put(Period, V) - Method in class net.sf.jtemporal.TemporalSetImpl
 
put(Instant, V) - Method in interface net.sf.jtemporal.TimeSeries
Creates a new entry in this timeseries.
put(Period, V) - Method in class net.sf.jtemporal.TreeTemporalSet
 
put(K, V) - Method in class net.sf.jtemporal.util.LightLRUCache
Adds an new entry to this cache.
put(Object, Object) - Method in class net.sf.jtemporal.util.SingleElementMap
 
putAll(TemporalAttribute<? extends V>) - Method in class net.sf.jtemporal.AbstractTemporalAttribute
 
putAll(TemporalSet<? extends V>) - Method in class net.sf.jtemporal.AbstractTemporalSet
 
putAll(TemporalAttribute<? extends V>) - Method in interface net.sf.jtemporal.TemporalAttribute
Copies all of the mappings from the specified map to this map (optional operation).
putAll(TemporalSet<? extends V>) - Method in interface net.sf.jtemporal.TemporalSet
Copies all of the mappings from the specified map to this map.
putAll(Map) - Method in class net.sf.jtemporal.util.SingleElementMap
 
putInCache(Instant, V) - Method in class net.sf.jtemporal.CachedTimeSeries
Writes in the cache only, without triggering the CachedTimeSeries.ChangeHandler.
putInCache(Period, V) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
Called by the implementation of LazyTemporalAttributeStorage.MissingRangeHandler.populateRange(LazyTemporalAttributeStorage, Period) to add entries in the cache.

R

ReadableTemporalAttribute<V> - Interface in net.sf.jtemporal
Superinterface common to anything able to return an object for a given instant.
ReadOnlySet - Class in net.sf.jtemporal.util
Set proxy, restricting operations to read-only.
ReadOnlySet(Set) - Constructor for class net.sf.jtemporal.util.ReadOnlySet
 
remove(CachedTimeSeries<V>, Instant) - Method in interface net.sf.jtemporal.CachedTimeSeries.ChangeHandler
Invoked when TimeSeries.remove(Instant) has been called.
remove(CachedTimeSeries<V>, Period) - Method in interface net.sf.jtemporal.CachedTimeSeries.ChangeHandler
Invoked when TimeSeries.remove(Instant) has been called.
remove(Instant) - Method in class net.sf.jtemporal.CachedTimeSeries
 
remove(Period) - Method in class net.sf.jtemporal.CachedTimeSeries
 
remove(Period) - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
remove(Period, Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
remove(LazyTemporalAttributeStorage<V>, Period) - Method in interface net.sf.jtemporal.spi.LazyTemporalAttributeStorage.ChangeHandler
Invoked when LazyTemporalAttributeStorage#remove(Instant) has been called.
remove(Period) - Method in interface net.sf.jtemporal.spi.PeriodStorage
Removes a period previously stored.
remove(Period, Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Removes a mapping (entry, tuple, row) composed by period and value previously stored.
remove(Period) - Method in interface net.sf.jtemporal.TemporalAttribute
Removes the mapping(s) for this period from this map if present (optional operation).
remove(Period) - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
remove(Period, Object) - Method in interface net.sf.jtemporal.TemporalSet
Removes the mapping(s) for this period and value from this map if present.
remove(Period, Object) - Method in class net.sf.jtemporal.TemporalSetImpl
 
remove(Instant) - Method in interface net.sf.jtemporal.TimeSeries
Removes an entry from this timeseries.
remove(Period) - Method in interface net.sf.jtemporal.TimeSeries
Remove a whole period from the timeseries (optional implementation).
remove(Period, Object) - Method in class net.sf.jtemporal.TreeTemporalSet
 
remove() - Method in class net.sf.jtemporal.util.EmptyIterator
 
remove(Object) - Method in class net.sf.jtemporal.util.EmptySet
 
remove() - Method in class net.sf.jtemporal.util.IteratorFilter

As soon IteratorFilter.hasNext() has been called, this method cannot be used anymore.
remove(Object) - Method in class net.sf.jtemporal.util.LightLRUCache
Removes an entry.
remove(Object) - Method in class net.sf.jtemporal.util.ReadOnlySet
 
remove() - Method in class net.sf.jtemporal.util.SimpleCloseableIterator
 
remove() - Method in class net.sf.jtemporal.util.SingleElementIterator
 
remove(Object) - Method in class net.sf.jtemporal.util.SingleElementMap
 
remove(Object) - Method in class net.sf.jtemporal.util.SingleElementSet
 
removeAll(Collection) - Method in class net.sf.jtemporal.util.ReadOnlySet
 
removeAll(Collection) - Method in class net.sf.jtemporal.util.SingleElementSet
 
removeEntry(Period) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
removeEntry(Period) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
removeEntry(Period) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Removes an entry composed by period and value previously stored.
removeEntry(Period) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
removeEntry(Period) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
removePeriod(Period) - Method in interface net.sf.jtemporal.TemporalSet
Removes all the mapping(s) for this period from this map if present.
removePeriod(Period) - Method in class net.sf.jtemporal.TemporalSetImpl
 
removePeriod(Period) - Method in class net.sf.jtemporal.TreeTemporalSet
 
removeRange(Period) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
removeRange(Period) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
removeRange(Period) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Removes all the entries whose period indersects the given period.
removeRange(Period) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
removeRange(Period) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
removeValue(Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
removeValue(Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Removes all the entries having the given value.
removeValue(Object) - Method in interface net.sf.jtemporal.TemporalSet
Removes all the mapping(s) for this value from this map if present.
removeValue(Object) - Method in class net.sf.jtemporal.TemporalSetImpl
 
removeValue(Object) - Method in class net.sf.jtemporal.TreeTemporalSet
 
retainAll(Collection) - Method in class net.sf.jtemporal.util.ReadOnlySet
 
retainAll(Collection) - Method in class net.sf.jtemporal.util.SingleElementSet
 

S

shows(Object) - Method in class net.sf.jtemporal.util.IteratorFilter
Tells whether an entry must be filtered or not.
SimpleCloseableIterator - Class in net.sf.jtemporal.util
Decorates an existing Iterator to make it closeable.
SimpleCloseableIterator(Iterator) - Constructor for class net.sf.jtemporal.util.SimpleCloseableIterator
If the passed iterator is instanceof CloseableIterator then it will closed when this iterator is closed.
SimpleTimedObject<V> - Class in net.sf.jtemporal
Associates an Object to a Period.
SimpleTimedObject(Period, V) - Constructor for class net.sf.jtemporal.SimpleTimedObject
Unique constructor initializing the final field.
SingleElementIterator - Class in net.sf.jtemporal.util
A read-only Iterator, iterating over a single element.
SingleElementIterator(Object) - Constructor for class net.sf.jtemporal.util.SingleElementIterator
Unique constructor.
SingleElementMap - Class in net.sf.jtemporal.util
This is a read-only Map, contining a single entry.
SingleElementMap(Object, Object) - Constructor for class net.sf.jtemporal.util.SingleElementMap
Unique constructor.
SingleElementSet - Class in net.sf.jtemporal.util
 
SingleElementSet(Object) - Constructor for class net.sf.jtemporal.util.SingleElementSet
Unique constructor
size() - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
size() - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
size() - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
size(Period) - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
size() - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
size(Period) - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
size() - Method in interface net.sf.jtemporal.spi.PeriodStorage
Returns the number of Periods in this storage.
size() - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns the number of Period-value mappings in this map.
size(Period) - Method in interface net.sf.jtemporal.spi.TemporalAttributeStorage
Returns the number of Period-value mappings in this map, for the given priod.
size() - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
size(Period) - Method in class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
 
size() - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns the number of Period-value mappings in this map.
size() - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
size(Period) - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
size() - Method in interface net.sf.jtemporal.TemporalAttribute
Returns the number of Period-value mappings in this map.
size() - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
size() - Method in interface net.sf.jtemporal.TemporalSet
Returns the number of Period-value mappings in this map.
size() - Method in class net.sf.jtemporal.TemporalSetImpl
 
size() - Method in class net.sf.jtemporal.TreeTemporalSet
 
size() - Method in class net.sf.jtemporal.util.EmptySet
 
size() - Method in class net.sf.jtemporal.util.ReadOnlySet
 
size() - Method in class net.sf.jtemporal.util.SingleElementMap
 
size() - Method in class net.sf.jtemporal.util.SingleElementSet
 
sizeAt(Instant) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
sizeAt(Instant) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns the number of entries, at the given instant.
sizeAt(Instant) - Method in interface net.sf.jtemporal.TemporalSet
Returns the number values in this map valid at the given instant.
sizeAt(Instant) - Method in class net.sf.jtemporal.TemporalSetImpl
 
sizeAt(Instant) - Method in class net.sf.jtemporal.TreeTemporalSet
 
sizeFor(Object) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
sizeFor(Object) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns the number of entries in this map whose value equals the given one.
sizeFor(Object) - Method in interface net.sf.jtemporal.TemporalSet
Returns the number of Period-value mappings in this map for the given value.
sizeFor(Object) - Method in class net.sf.jtemporal.TemporalSetImpl
 
sizeFor(Object) - Method in class net.sf.jtemporal.TreeTemporalSet
 
sizeValues() - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
sizeValues() - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Returns the number of distinct values in this storage.
sizeValues() - Method in interface net.sf.jtemporal.TemporalSet
Returns the number of distinct values in this map.
sizeValues() - Method in class net.sf.jtemporal.TemporalSetImpl
 
sizeValues() - Method in class net.sf.jtemporal.TreeTemporalSet
 
StartComparator - Class in net.sf.jtemporal.spi
Compares Periods and Instants by using the Period start instant.
StartComparator() - Constructor for class net.sf.jtemporal.spi.StartComparator
Some ORM frameworks require to instantiate new instances of the comparator, that's why this is public.
subMap(Period) - Method in interface net.sf.jtemporal.TemporalAttribute
 
subMap(Period) - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
succedingPeriod(Period) - Method in class net.sf.jtemporal.Period
Returns the part of this period that succeeds p, or null if p.end > this.end
succeeds(Period) - Method in class net.sf.jtemporal.Period
Returns true if this period succeeds p.
succeeds(Instant) - Method in class net.sf.jtemporal.Period
Returns true if this period succeeds i.

T

TemporalAttribute<V> - Interface in net.sf.jtemporal
This is a map, whose key is a Period when adding mappings (entries) and an Instant when getting mappings.
TemporalAttributeImpl<V> - Class in net.sf.jtemporal
Implements TemporalAttribute by using a TemporalAttributeStorage.
TemporalAttributeImpl(TemporalAttributeStorage) - Constructor for class net.sf.jtemporal.TemporalAttributeImpl
 
TemporalAttributeStorage - Interface in net.sf.jtemporal.spi
Defines the contract the storage must fulfil to store and retrieve values.
TemporalAttributeStorageProxy - Class in net.sf.jtemporal.spi
A skeletont for building a proxy.
TemporalAttributeStorageProxy(TemporalAttributeStorage) - Constructor for class net.sf.jtemporal.spi.TemporalAttributeStorageProxy
Creates a new instance on top of an exisitng storage.
TemporalSet<V> - Interface in net.sf.jtemporal
This is a map, whose key is a Period when adding mappings (entries) and an Instant when getting mappings.
TemporalSetImpl<V> - Class in net.sf.jtemporal
The standard implementation of TemporalSet.
TemporalSetImpl(TemporalSetStorage) - Constructor for class net.sf.jtemporal.TemporalSetImpl
Creates a new TemporalSet using the give storage.
TemporalSetStorage - Interface in net.sf.jtemporal.spi
Defines the contract the storage must fulfil to store and retrieve values.
TimedObject<V> - Interface in net.sf.jtemporal
Associates an Object to a Period.
TimedObjectFactory<V> - Interface in net.sf.jtemporal.spi
Creates and destroys a TimedObject, used typically by ORMTemporalAttributeStorage to ask to the ORM tool to add or remove a row to the database.
TimeSeries<V> - Interface in net.sf.jtemporal
This is more or less a Map, whose key is an Instant.
toArray() - Method in class net.sf.jtemporal.util.EmptySet
 
toArray(Object[]) - Method in class net.sf.jtemporal.util.ReadOnlySet
 
toArray() - Method in class net.sf.jtemporal.util.ReadOnlySet
 
toArray() - Method in class net.sf.jtemporal.util.SingleElementSet
 
toString() - Method in class net.sf.jtemporal.AbstractTimedObject
 
toString() - Method in class net.sf.jtemporal.CachedTimeSeries
 
toString() - Method in class net.sf.jtemporal.Period
Textual representation of this object.
toString() - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 
toString() - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
toString() - Method in class net.sf.jtemporal.spi.LazyTemporalAttributeStorage
 
toString() - Method in class net.sf.jtemporal.spi.ORMTemporalAttributeStorage
 
toString() - Method in class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
 
toString() - Method in class net.sf.jtemporal.TemporalAttributeImpl
 
toString() - Method in class net.sf.jtemporal.util.LightLRUCache
 
toString() - Method in class net.sf.jtemporal.util.SingleElementMap
 
toString() - Method in class net.sf.jtemporal.util.SingleElementSet
 
TreeTemporalAttribute<V> - Class in net.sf.jtemporal
Uses internally a TreeMap to store the mappings.
TreeTemporalAttribute() - Constructor for class net.sf.jtemporal.TreeTemporalAttribute
 
TreeTemporalAttributeStorage - Class in net.sf.jtemporal.spi
A transient implementation of TemporalAttributeStorage#, based on a TreeMap.
TreeTemporalAttributeStorage() - Constructor for class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
Creates an empty TemporalAttributeStorage.
TreeTemporalAttributeStorage(SortedMap) - Constructor for class net.sf.jtemporal.spi.TreeTemporalAttributeStorage
You can specify an instance of SortedMap to be used internally by the storage.
TreeTemporalSet<V> - Class in net.sf.jtemporal
Maintains internally a TreeMap over the periods and an HashMap over the values so that query performances are acceptable for queries in both dimensions even when the collection is very large.
TreeTemporalSet() - Constructor for class net.sf.jtemporal.TreeTemporalSet
Default constructor.
TreeTemporalSet(Class) - Constructor for class net.sf.jtemporal.TreeTemporalSet
 
trimToSize() - Method in class net.sf.jtemporal.spi.CompactPeriodStorage
 

U

union(Period) - Method in class net.sf.jtemporal.Period
Returns the result of the merge of two periods.

V

valueIterator() - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
valueIterator(Instant) - Method in class net.sf.jtemporal.spi.CompactTemporalSetStorage
 
valueIterator() - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Iterates over all the distinct values of the entries in the storage.
valueIterator(Instant) - Method in interface net.sf.jtemporal.spi.TemporalSetStorage
Iterates over the set of values valid at the given instant.
values() - Method in class net.sf.jtemporal.util.SingleElementMap
 
valueSet(Instant) - Method in interface net.sf.jtemporal.TemporalSet
Returns a read-only Set containing the values defined in this map at the specified instant.
valueSet() - Method in interface net.sf.jtemporal.TemporalSet
Returns a read-only Set containing the distinct values defined somewhen in this map.
valueSet(Instant) - Method in class net.sf.jtemporal.TemporalSetImpl
 
valueSet() - Method in class net.sf.jtemporal.TemporalSetImpl
 
valueSet() - Method in class net.sf.jtemporal.TreeTemporalSet
 
valueSet(Instant) - Method in class net.sf.jtemporal.TreeTemporalSet
 

W

weaken(Instant) - Method in class net.sf.jtemporal.WeakTimeSeriesFactory
Deprecated. Potentially removes the given instant in all the TimeSeries created by this mgr.
weaken(Period) - Method in class net.sf.jtemporal.WeakTimeSeriesFactory
Deprecated. Potentially removes all the known instant in the given Period range, in all the TimeSeries created by this mgr.
WeakTimeSeriesFactory - Class in net.sf.jtemporal
Deprecated.  
WeakTimeSeriesFactory() - Constructor for class net.sf.jtemporal.WeakTimeSeriesFactory
Deprecated.  

A B C D E F G H I K L M N O P R S T U V W
JTemporal Home
Tutorial