public final class ParamUtils extends Object
| 构造器和说明 |
|---|
ParamUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
createFormula(int offset,
int rowIndex,
int colCount)
Compute cell formula
|
static void |
deleteMapKey(Map<?,?> map,
String key)
Delete specified key on HashMap
|
static boolean |
equals(Object param1,
Object param2,
boolean allowEmpty)
Whether it's equal or not
|
static boolean |
noContains(String[] arr,
String val)
Whether the array contains a value
|
static <T> void |
requireNonNull(T obj,
String message)
Whether obj is null
|
public static boolean noContains(String[] arr, String val)
arr - arrayval - valuepublic static boolean equals(Object param1, Object param2, boolean allowEmpty)
param1 - param1param2 - param2allowEmpty - Whether allow empty?public static <T> void requireNonNull(T obj,
String message)
T - Tobj - objmessage - error messagepublic static String createFormula(int offset, int rowIndex, int colCount)
offset - The offset, if you give it to 0, means you start with column A, and 1 means you start with column BrowIndex - Row indexcolCount - How many columnsCopyright © 2020. All rights reserved.