Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
G
L
P
S
T
G
getFirstName()
- Method in class labtest1.
President
Returns the first name of this president.
getInstance(String, String, int)
- Static method in class labtest1.
President
Returns a president with the given first name, last name and number of years in office.
getInstance(String, String)
- Static method in class labtest1.
President
Returns a president with the given first name, last name and no years in office.
getLastName()
- Method in class labtest1.
President
Returns the last name of this president.
getName()
- Method in class labtest1.
President
Returns the name of this president.
getNumberOfYearsInOffice()
- Method in class labtest1.
President
Returns the number of years in office of this president.
L
labtest1
- package labtest1
P
President
- Class in
labtest1
This class represents a president.
S
setNumberOfYearsInOffice(int)
- Method in class labtest1.
President
Sets the number of years in office of this president to the given number of years in office.
T
toString()
- Method in class labtest1.
President
Returns a string representation of this president.
G
L
P
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes