TestTheDatabase
Class Start
java.lang.Object
TestTheDatabase.Start
- public class Start
- extends java.lang.Object
Start starts an application that builds a database. The records
held within the database are ``BasicPerson'' records.
A BasicPerson record holds a key, a person's name (a string) plus
one sentence of info that we wish to save about the person.
The key object that is held within a record (and is used for lookup)
holds a string.
For example, if we wish to store a record about Fred Mertz, and we
wish to save that "wife is named Ethel", and Fred's ID is 1234,
then we use the application as follows:
(i) we press Insert;
(ii) in the first dialog we type, 1234;
(iii) in the second dialog, we type, Fred Mertz;
(iv) in the third dialog, we type, wife is named Ethel.
The application will construct the Key object and save it within the
record object it constructs for Fred Mertz.
To find a record, we press Find and enter the key.
|
Constructor Summary |
Start()
|
|
Method Summary |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Start
public Start()
main
public static void main(java.lang.String[] args)