|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |