public class Erupts extends Object
| 构造器和说明 |
|---|
Erupts() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
generateCode() |
static String |
generateCode(int length) |
static void |
powerLegal(Boolean bool) |
static void |
powerLegal(Boolean bool,
String message) |
static void |
powerLegal(EruptModel eruptModel,
Function<PowerObject,Boolean> function) |
static void |
powerLegal(EruptModel eruptModel,
Function<PowerObject,Boolean> function,
String errorMessage) |
static void |
requireFalse(boolean bool,
String message) |
static <T> void |
requireNonNull(T t,
String message) |
static void |
requireNull(Object obj,
String message) |
static void |
requireTrue(boolean bool,
String message) |
public static void powerLegal(EruptModel eruptModel, Function<PowerObject,Boolean> function, String errorMessage)
public static void powerLegal(EruptModel eruptModel, Function<PowerObject,Boolean> function)
public static void powerLegal(Boolean bool)
public static void requireFalse(boolean bool,
String message)
public static void requireTrue(boolean bool,
String message)
public static <T> void requireNonNull(T t,
String message)
public static String generateCode()
public static String generateCode(int length)
Copyright © 2023. All rights reserved.