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

Constructor Index

 o Diary()
Create a diary and its display.

Method Index

 o getEntryR(int, int)
This method is used to retrieve an entry.
 o setEntry(int, int, String)
This method is used to insert an entry.

Constructors

 o Diary
 public Diary()
Create a diary and its display.

Methods

 o 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
 o 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