timedfinalevent.java

来自「设计模式是软件工程的核心思想」· Java 代码 · 共 23 行

JAVA
23
字号

public class TimedFinalEvent extends Event {

    //class describes an event that will be swum twice
    public TimedFinalEvent(String filename, int lanes) {
        super(filename, lanes);
    }
    //return StraightSeeding class
    public  Seeding getSeeding() {
        return new StraightSeeding(swimmers, numLanes);
    }
    public boolean isPrelim() {
        return false;
    }
    public boolean isFinal() {
        return false;
    }
    public boolean isTimedFinal() {
        return true;
    }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?