graphics
Class Respondent

java.lang.Object
  extended by graphics.Respondent
All Implemented Interfaces:
Comparable<Respondent>

public class Respondent
extends Object
implements Comparable<Respondent>

Logical representaiton of a student/repondent.

Author:
Terje

Field Summary
private  String name
           
private  int points
           
 
Constructor Summary
Respondent(String name, int points)
           
 
Method Summary
 int compareTo(Respondent anotherRespondent)
           
 String getName()
           
 int getPoints()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private String name

points

private int points
Constructor Detail

Respondent

public Respondent(String name,
                  int points)
Method Detail

getName

public String getName()

getPoints

public int getPoints()

compareTo

public int compareTo(Respondent anotherRespondent)
Specified by:
compareTo in interface Comparable<Respondent>