Package net.hironico.common.utils
Class LangUtils
java.lang.Object
net.hironico.common.utils.LangUtils
Language utilities : shortcuts that make life easier.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClasses(String packageName) static booleanhasOneNull(Object... objs) Returns true if at least one of the given objects is null.static booleanisAllNotNull(Object... objs) static booleanReturns true is ALL objects are null
-
Constructor Details
-
LangUtils
public LangUtils()
-
-
Method Details
-
hasOneNull
Returns true if at least one of the given objects is null. -
isAllNull
Returns true is ALL objects are null- Parameters:
objs- objects to tests if null- Returns:
- true is all objects are null
-
isAllNotNull
-
getClasses
public static List<Class<? extends Object>> getClasses(String packageName) throws ClassNotFoundException, IOException - Throws:
ClassNotFoundExceptionIOException
-