public class GradeRange
extends java.lang.Object
Constructor and Description |
---|
GradeRange(int grade)
Constructor for the GradeRangeItem object
|
GradeRange(int minGrade,
int maxGrade)
Constructor for the GradeRangeItem object
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(GradeRange other)
Determines if the extents of this GradeRange contain those of provided gradeRange.
|
int |
getMaxGrade()
Gets the maxGrade attribute of the GradeRange object
|
int |
getMinGrade()
Gets the minGrade attribute of the GradeRange object
|
void |
setMaxGrade(int grade)
Sets the maxGrade attribute of the GradeRange object
|
void |
setMinGrade(int grade)
Sets the minGrade attribute of the GradeRange object
|
java.lang.String |
toStr()
NOT YET DOCUMENTED
|
public GradeRange(int grade)
grade
- NOT YET DOCUMENTEDpublic GradeRange(int minGrade, int maxGrade)
minGrade
- NOT YET DOCUMENTEDmaxGrade
- NOT YET DOCUMENTEDpublic boolean contains(GradeRange other)
other
- other GradeRangepublic void setMinGrade(int grade)
grade
- The new minGrade valuepublic int getMinGrade()
public void setMaxGrade(int grade)
grade
- The new maxGrade valuepublic int getMaxGrade()
public java.lang.String toStr()