|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujac.util.test.CollectionUtilsTest.Person
public class CollectionUtilsTest.Person
Data container for sorting tests.
| Constructor Summary | |
|---|---|
CollectionUtilsTest.Person(int id,
String name,
String firstName)
Constructs a Person instance with specific attributes. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getFirstName()
Getter method for the the property firstName. |
int |
getId()
Getter method for the the property id. |
String |
getName()
Getter method for the the property name. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionUtilsTest.Person(int id,
String name,
String firstName)
id - The initial ID.name - The initial name.firstName - The initial first name.| Method Detail |
|---|
public int getId()
public String getName()
public String getFirstName()
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||