Uses of Class
MySTARS.Lesson

  • Uses of Lesson in MySTARS

    Fields in MySTARS with type parameters of type Lesson 
    Modifier and Type Field Description
    private java.util.HashMap<java.lang.Integer,​Lesson> CourseIndex.lessons
    Hashmap of lessons, to be accessed using LessonID
    Methods in MySTARS that return Lesson 
    Modifier and Type Method Description
    Lesson CourseIndex.getLesson​(java.lang.Integer lessonID)
    Returns the Lesson object based on the key value lessonID
    Methods in MySTARS that return types with arguments of type Lesson 
    Modifier and Type Method Description
    java.util.ArrayList<Lesson> CourseIndex.getLessons()
    Return all the lesson slots in the index.
    Methods in MySTARS with parameters of type Lesson 
    Modifier and Type Method Description
    void CourseIndex.addLesson​(Lesson lesson)
    Add a single lesson slot to the index, if it doesn't already exist.
    static void CourseManager.printLesson​(Lesson lesson)
    Prints a lesson information for a given Lesson.
    Method parameters in MySTARS with type arguments of type Lesson 
    Modifier and Type Method Description
    void CourseIndex.addLessons​(java.util.ArrayList<Lesson> lessons)
    Add multiple lessons to the index.
    boolean Lesson.clashes​(java.util.ArrayList<Lesson> lessons)  
    Constructor parameters in MySTARS with type arguments of type Lesson 
    Constructor Description
    CourseIndex​(int classSize, java.lang.String courseCode, java.lang.String indexNumber, java.util.ArrayList<Lesson> lessons)
    Constructor for the course index, and including already existing lessons inside.