Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
private SSN |
ssn |
Constructor and Description |
---|
PersonObj() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(Person o) |
(package private) PersonObj |
initialize(java.lang.String name,
SSN ssn) |
(package private) PersonObj |
initialize(java.lang.String name,
java.lang.String ssn) |
java.lang.String |
name() |
SSN |
ssn() |
PersonObj()
PersonObj initialize(java.lang.String name, SSN ssn)
PersonObj initialize(java.lang.String name, java.lang.String ssn)
public int compareTo(Person o)
compareTo
in interface java.lang.Comparable<Person>