📄 listopensectionstrans.java
字号:
package Transactions;
import Sets.DepartmentSet;
import dslib.list.LinkedListUos;
import Entities.*;
/** List the section for a specific course that have not
reached their enrollment limit */
public class ListOpenSectionsTrans
{
public LinkedListUos openSectionsList;
public void execute(int deptNum, int courseNum)
{
Course course = DepartmentSet.getCourse(deptNum, courseNum);
if (course != null)
openSectionsList = course.openSections();
else
openSectionsList = new LinkedListUos();
}
} /* end of ListOpenSectionsTrans */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -