⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 action.java

📁 This project developed in java leads us to realize a flight reservation system in order to emulate d
💻 JAVA
字号:
/* * Action.java * The package reservation contains the different class allowing to choose the action to realise. */package reservation;/** * This class uniform the way to call each sub-class (Create, Reserve, Cancel, Lists, Identify) that processes the commands. * It delegates to the sub-class the implementation of the function execute (), usage () and check (). * Also it masks the machinery and helps the developer who want to reuse the program. * @author Texier Mathieu and Frederic Bidon */public interface Action {    /**     * Proceed the execution of the action     * @param arg The argument of the coresponding function     * @return The apropriate string message     * @throws Exception When an error occurs     */        String execute (String[] arg) throws Exception;    /**     * Maximal number of argument for the command mode     */        static public final int NUMBER_ARGUMENT_MAX = 100;    /**     * The instance of the Flight System     */        reservation.system.FlightSystem fs = reservation.system.FlightSystem.getInstance();}

⌨️ 快捷键说明

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