permutationexhaustedexception.java

来自「经典的货郎担问题解决办法」· Java 代码 · 共 30 行

JAVA
30
字号
/*** This code was written by Kent Paul Dolan.  See accompanying file** TravellerDoc.html for status for your use.*/package com.well.www.user.xanthian.java.tools;import java.lang.Exception;public class PermutationExhaustedException  extends Exception{  public PermutationExhaustedException()  {    super    (      "Call for next permutation was received after all N! " +      "permutations were exhausted."    );  }  public PermutationExhaustedException( String s )  {    super(s);  }}

⌨️ 快捷键说明

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