visitor.java
来自「一个较好的java开发实例」· Java 代码 · 共 43 行
JAVA
43 行
/* * Visitor.java * * Created on 2003年11月6日, 上午10:53 */package romulus;import java.sql.SQLException;/** * The interface used to control the Romulus data structure. * This is the base of all the Visitor used to do something deal with the data structure. * @author Romulus * @version */interface Visitor { /**Visit Test.*/ public void VisitTest(Test test) throws SQLException, RomulusException; /**Visit the Question.*/ public void VisitQuestion(Question que) throws SQLException, RomulusException; /**Visit the QuestionItem.*/ public void VisitQuestionItem(QuestionItem qitem) throws SQLException, RomulusException; /**Visit the Objective.*/ public void VisitObjective(Objective obj) throws SQLException, RomulusException; /**Visit the Feedback.*/ public void VisitFeedback(Feedback fb) throws SQLException, RomulusException; /**Visit the Content.*/ public void VisitContent(Content cont) throws SQLException, RomulusException; /**Visit the ContentItem.*/ public void VisitContentItem(ContentItem citem) throws SQLException, RomulusException; /**Visit the ChoiceItem.*/ public void VisitChoiceItem(ChoiceItem citem) throws SQLException, RomulusException;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?