|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cpsolver.studentsct.report.CourseSection
public class CourseSection
A simple class containing reference to a (course, class) pair. Used in some of the reports.
Provides sorting capabilities.
Constructor Summary | |
---|---|
CourseSection(Course course,
Section section)
Constructor |
Method Summary | |
---|---|
int |
compareTo(CourseSection other)
|
boolean |
equals(Object o)
|
Course |
getCourse()
Course |
Section |
getSection()
Class |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CourseSection(Course course, Section section)
Method Detail |
---|
public Course getCourse()
public Section getSection()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(CourseSection other)
compareTo
in interface Comparable<CourseSection>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |