Timestamped Interface
- public interface Timestamped
An interface for associating Timestamp instances
with indicies. This interface provides both read and write
access to associated Timestamps.
Related Topics
Timestamp
public Timestamp |
-
getTime (int index)
- Returns the timestamp associated with a given index.
|
public void |
-
setTime (int index, Timestamp timestamp)
- Associates a timestamp with a given index.
|
getTime(int) Method
public Timestamp
getTime(int index)
Returns the timestamp associated with a given index.
Parameters
-
index
- the index of the desired timestamp.
Returns
- the timestamp associated with the given index.
setTime(int, Timestamp) Method
public void setTime(int index,
Timestamp
timestamp)
Associates a timestamp with a given index.
Parameters
-
index
- an index with which to associate the timestamp.
-
timestamp
- the target timestamp.