First commit
This commit is contained in:
17
Homework 8/src/grading/Grade.java
Executable file
17
Homework 8/src/grading/Grade.java
Executable file
@@ -0,0 +1,17 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user