|
JTemporal Home Tutorial |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jtemporal.AbstractTemporalAttribute<V>
V
- the type of the valuepublic abstract class AbstractTemporalAttribute<V>
Features common to the TemporalAttributes.
Constructor Summary | |
---|---|
AbstractTemporalAttribute()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compares the specified object with this map for content equality. |
Period |
extent()
Returns a period enclosing firstInstant() and lastInstant() |
TimedObject<V> |
getEntry(Instant instant)
Returns the entry active at the given instant. |
boolean |
putAll(TemporalAttribute<? extends V> tm)
Copies all of the mappings from the specified map to this map (optional operation). |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jtemporal.TemporalAttribute |
---|
clear, containsInstant, containsValue, entrySet, firstInstant, firstPeriod, get, getPeriod, isEmpty, lastInstant, lastPeriod, periodSet, put, remove, size, subMap |
Constructor Detail |
---|
public AbstractTemporalAttribute()
Method Detail |
---|
public boolean putAll(TemporalAttribute<? extends V> tm)
TemporalAttribute
putAll
in interface TemporalAttribute<V>
tm
- Mappings to be stored in this map.
public Period extent()
TemporalAttribute
extent
in interface TemporalAttribute<V>
TemporalAttribute.firstInstant()
,
TemporalAttribute.lastInstant()
public TimedObject<V> getEntry(Instant instant)
TemporalAttribute
getEntry
in interface TemporalAttribute<V>
instant
- instant whose associated entry is to be returned
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- object to be compared for equality with this map.
|
JTemporal Home Tutorial |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |