|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--example.cmp.map.GradeKey
The composite grade key. The fields names match the primary key of the Grade object.
| Field Summary | |
Course |
course
|
Student |
student
|
| Constructor Summary | |
GradeKey()
Null constructor for the GradeKey. |
|
GradeKey(Student student,
Course course)
Create a new GradeKey. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Overrides equals to return true when the key matches. |
int |
hashCode()
Returns the key's hash code. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public Student student
public Course course
| Constructor Detail |
public GradeKey()
public GradeKey(Student student,
Course course)
| Method Detail |
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||