src/edu/kit/informatik/campusmanagement/CampusManagement.java
/**
     * Returns the module with the specified id.
     * 
     * @param  id the id
     * @return the module
     * @throws IllegalArgumentException if the id does not represent a module
     */
Returns the module with the specified id.

@param  id the id
@return the module
@throws IllegalArgumentException if the id does not represent a module
Returns the module with the specified id . @param id the id @return the module @throws IllegalArgumentException if the id does not represent a module
public Module module(
            final int id) {
        return element(id).accept((GetModule) orElse -> { throw new IllegalArgumentException("Not a module"); });
    }
public Module module ( final int id ) { return element ( id ) . accept ( ( GetModule ) orElse -> { throw new IllegalArgumentException ( "Not a module" ) ; } ) ; }
Returns the module with the specified id.
Returns the module with the specified id .
////