src/edu/kit/informatik/campusmanagement/Lecture.java
/**
     * Returns the grade of the student.
     * 
     * @param  student the student
     * @return the grade
     * @throws NoSuchElementException if the student has no grade set
     */
Returns the grade of the student.

@param  student the student
@return the grade
@throws NoSuchElementException if the student has no grade set
Returns the grade of the student . @param student the student @return the grade @throws NoSuchElementException if the student has no grade set
Grade grade(
            final Student student) {
        return Optional.of(student).map(grades::get).orElseThrow(() -> new NoSuchElementException(student.toString()));
    }
Grade grade ( final Student student ) { return Optional . of ( student ) . map ( grades :: get ) . orElseThrow ( ( ) -> new NoSuchElementException ( student . toString ( ) ) ) ; }
Returns the grade of the student.
Returns the grade of the student .
////