|
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.AbstractTimedObject<V>
V
- the type of the valuepublic abstract class AbstractTimedObject<V>
Associates an Object to a Period. The semantics of the period is free. Is immutable when the value is immutable as well.
Constructor Summary | |
---|---|
AbstractTimedObject()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
abstract Period |
getPeriod()
Must always return the same Period. |
abstract V |
getValue()
Must always return the same reference of value. |
int |
hashCode()
Computes an hash code for this TimedObject. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractTimedObject()
Method Detail |
---|
public abstract Period getPeriod()
getPeriod
in interface TimedObject
public abstract V getValue()
getValue
in interface TimedObject
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
JTemporal Home Tutorial |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |