Package com.jackmeng.core.util
Class use_Commons
java.lang.Object
com.jackmeng.core.util.use_Commons
Common and primitive manipulation and functionality
functions.
- Author:
- Jack Meng
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
compress_str
(String str) static String
static boolean
static String
final Class<?>
find_class
(String fullName) final Class<?>
find_class
(String className, String pkgName) static boolean
is_generic
(Class<?> c) final boolean
is_generic
(String str) list_class
(String pkgName) static <T> T
new_instance
(Class<T> classObj, Object... args) static <T> T
new_Instance
(Class<T> classObj, Class<?>[] constructorSig, Object... args) static String
static Object
pick
(const_Bias bias, Object... e) static Object
static String
rndstr
(int length, int left, int right) static Number
round_off_bd
(Number e, int amount) static boolean
static String
strong_delimiter
(String str, String delimiter, int validLength) static String
weak_delimiter
(String str, String delimiter, int validLength)
-
Field Details
-
INTERNALS
-
-
Constructor Details
-
use_Commons
private use_Commons()
-
-
Method Details
-
weak_delimiter
-
pick
-
pick
-
strong_delimiter
-
compress_str
-
copies_Of
-
ends_with
- Parameters:
key
-comparators
-- Returns:
- boolean
-
rndstr
-
expand_exception
-
normalize_string
-
is_generic
-
str_empty
-
round_off_bd
-
new_Instance
public static <T> T new_Instance(Class<T> classObj, Class<?>[] constructorSig, Object... args) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException -
new_instance
public static <T> T new_instance(Class<T> classObj, Object... args) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException -
is_generic
- Throws:
ClassNotFoundException
-
find_class
-
find_class
-
list_class
-