code: @SuppressWarnings({"rawtypes", "unchecked"})
      public static <T extends Comparable> void notMax(final T arg, final T max, final String name) {
          
          if(arg == null) {
              throw new IllegalArgumentException(String.format("%s should not be null.", name));
          }
          
          if(arg.compareTo(max) > 0) {
              throw new IllegalArgumentException(String.format("%s cannot be greater than %s", name, max.toString()));
          }
          
      }
docs: 引数が {@literal 'arg' <= 'max'} の関係か検証する。
  @param arg 検証対象の値
  @param max 最大値
  @param name 検証対象の引数の名前
  @throws IllegalArgumentException {@literal arg == null || arg > max.}