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

📄 failedprecondition.java

📁 赫夫曼编译码器: 用哈夫曼编码进行通信可以大大提高信道利用率
💻 JAVA
字号:
package structure;/** * This error is thrown by the Assert class in the event of a failed * precondition. Errors are thrown rather than exceptions because * failed preconditions are assumed to be an indication of such * an egregious program failure that recovery is impossible. * * @version $Id: Assert.java,v 4.0 2000/12/27 20:57:33 bailey Exp bailey $ * @author, 2001 duane a. bailey * @see Assert#pre */class FailedPrecondition extends FailedAssertion{    /**     * Constructs an error indicating failure to meet a precondition.     *     * @post Constructs a new failed precondition     *      * @param reason String describing precondition.     */    public FailedPrecondition(String reason)    {	super("\nA precondition: " + reason);    }}

⌨️ 快捷键说明

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