18 lines
336 B
Java
Executable File
18 lines
336 B
Java
Executable File
package grading;
|
|
|
|
/**
|
|
* An interface for implementing a grade with a key and a value to store the score.
|
|
*/
|
|
public interface Grade extends Comparable<Grade>
|
|
{
|
|
/**
|
|
* @return The key of for this Grade
|
|
*/
|
|
public String getKey();
|
|
|
|
/**
|
|
* @return The value for this Grade
|
|
*/
|
|
public Double getValue();
|
|
}
|