Class LangUtils

java.lang.Object
net.hironico.common.utils.LangUtils

public class LangUtils extends Object
Language utilities : shortcuts that make life easier.
  • Constructor Details

    • LangUtils

      public LangUtils()
  • Method Details

    • hasOneNull

      public static boolean hasOneNull(Object... objs)
      Returns true if at least one of the given objects is null.
    • isAllNull

      public static boolean isAllNull(Object... objs)
      Returns true is ALL objects are null
      Parameters:
      objs - objects to tests if null
      Returns:
      true is all objects are null
    • isAllNotNull

      public static boolean isAllNotNull(Object... objs)
    • getClasses

      public static List<Class<? extends Object>> getClasses(String packageName) throws ClassNotFoundException, IOException
      Throws:
      ClassNotFoundException
      IOException