|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An entry in a dated map. This interface is an adaptation of the interface
java.util.Map.Entry. The only difference is that the
setValue method has
been enhanced to take a date range.
| Method Summary | |
boolean |
equals(java.lang.Object object)
Indicates if this entry is equivalent to the specified object. |
java.lang.Object |
getKey()
Returns this entry's key. |
java.lang.Object |
getValue()
Returns this entry's value. |
int |
hashCode()
Returns a hash code value for this entry. |
java.lang.Object |
setValue(java.lang.Object value,
java.util.Date from,
java.util.Date to)
Sets the value to be associated with the key in the specified date range. |
| Method Detail |
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject -
true if this entry is equal to the specified objectpublic java.lang.Object getKey()
public java.lang.Object getValue()
public int hashCode()
hashCode in class java.lang.Object
public java.lang.Object setValue(java.lang.Object value,
java.util.Date from,
java.util.Date to)
value - from - start of date range (inclusive) to map to valueto - end of date range (exclusive) to map to value
DateOutOfRangeException - if the specified range does not include
the date at which this entry is being viewed or if the underlying
map is not static throughout the specified range
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||