|
JTemporal Home Tutorial |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.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 TimedObjectpublic abstract V getValue()
getValue in interface TimedObjectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic 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 | ||||||||