graphics
Class Respondent
java.lang.Object
graphics.Respondent
- All Implemented Interfaces:
- Comparable<Respondent>
public class Respondent
- extends Object
- implements Comparable<Respondent>
Logical representaiton of a student/repondent.
- Author:
- Terje
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
private String name
points
private int points
Respondent
public Respondent(String name,
int points)
getName
public String getName()
getPoints
public int getPoints()
compareTo
public int compareTo(Respondent anotherRespondent)
- Specified by:
compareTo
in interface Comparable<Respondent>