public class Utilities extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static LikePatternSymbol |
A |
static LikePatternSymbol |
E |
static int |
EQ |
static LikePatternSymbol |
F |
static int |
GT |
static int |
GTE |
static int |
LT |
static int |
LTE |
static LikePatternSymbol |
N |
| 构造器和说明 |
|---|
Utilities() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
compare(Object o1,
Object o2) |
static Object[] |
convertArgs(Object[] args,
Class[] argTypes) |
static String |
formatSignature(String name,
Class[] ps) |
static double |
getDouble(Object o) |
static Double |
getDoubleObject(Object o) |
static int |
getLastMatch(String value,
String search,
int start) |
static List |
getLikePattern(String value,
String wildcard) |
static void |
getMethods(Class c,
String name,
int mods,
List ms) |
static Class |
getObjectClass(Class c) |
static Class |
getPrimitiveClass(Class c) |
static boolean |
getResult(boolean v,
boolean n) |
static boolean |
isEquals(Object o1,
Object o2) |
static boolean |
isGTEquals(Object o1,
Object o2) |
static boolean |
isLTEquals(Object o1,
Object o2) |
static boolean |
isNumber(Class c) |
static boolean |
isNumber(Object o) |
static boolean |
isPrimitiveClass(Class c) |
static boolean |
matches(Object l,
Object r,
boolean ignoreCase,
int type,
boolean not) |
static boolean |
matchLikePattern(List p,
Collection lhs,
boolean not,
boolean ignoreCase) |
static boolean |
matchLikePattern(List p,
Object o,
boolean ignoreCase) |
static boolean |
matchLikePattern(List p,
Object lhs,
boolean not,
boolean ignoreCase) |
static boolean |
matchLikePattern(List p,
String value) |
static boolean |
matchLikePattern(List p,
String value,
boolean not) |
static int |
matchMethodArgs(Class[] args,
Class[] compArgs) |
static void |
setObjectComparator(Comparator c) |
static String |
stripQuotes(String s) |
static String |
unescapeString(String v) |
public static LikePatternSymbol F
public static LikePatternSymbol A
public static LikePatternSymbol E
public static LikePatternSymbol N
public static final int GT
public static final int GTE
public static final int LT
public static final int LTE
public static final int EQ
public static void setObjectComparator(Comparator c)
public static boolean isPrimitiveClass(Class c)
public static boolean getResult(boolean v,
boolean n)
public static boolean matches(Object l, Object r, boolean ignoreCase, int type, boolean not)
public static double getDouble(Object o)
public static boolean isNumber(Object o)
public static boolean isNumber(Class c)
public static boolean matchLikePattern(List p, Object lhs, boolean not, boolean ignoreCase)
public static boolean matchLikePattern(List p, Collection lhs, boolean not, boolean ignoreCase)
Copyright © 2021. All rights reserved.