All Packages Class Hierarchy This Package Previous Next Index
Class test.active.Diary
java.lang.Object
|
+----test.active.Diary
- public class Diary
- extends Object
This class represents a diary. It is used to demonstrate active replication.
- Version:
- 1.0
- Author:
- Markus Jäger
-
Diary()
- Create a diary and its display.
-
getEntryR(int, int)
- This method is used to retrieve an entry.
-
setEntry(int, int, String)
- This method is used to insert an entry.
Diary
public Diary()
- Create a diary and its display.
getEntryR
public String getEntryR(int day,
int time)
- This method is used to retrieve an entry.
- Parameters:
- day - The day
- time - The time
- Returns:
- The entry
setEntry
public void setEntry(int day,
int time,
String newEnt)
- This method is used to insert an entry.
- Parameters:
- day - The day
- time - The time
- newEnt - The entry
All Packages Class Hierarchy This Package Previous Next Index