public class CourseSection extends Object implements Comparable<CourseSection>
Constructor and Description |
---|
CourseSection(Course course,
Section section)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CourseSection other) |
boolean |
equals(Object o) |
Course |
getCourse()
Course
|
Section |
getSection()
Class
|
int |
hashCode() |
public CourseSection(Course course, Section section)
public Section getSection()
public int compareTo(CourseSection other)
compareTo
in interface Comparable<CourseSection>