ObjectUtil { public static boolean orIsNull(Object... objects) { return ListUtil.buildArrayList(objects).stream().filter(ObjectUtil::isNull).count() > 0; }  static boolean isNull(Object obj); static boolean isNotNull(Object obj); static boolean andIsNull(Object... objects); static boolean orIsNull(Object... objects); static boolean equals(Object obj1, Object obj2); static boolean same(Object obj1, Object obj2);  }
@Test public void testOrIsNull() { assertTrue(ObjectUtil.orIsNull(null, null)); assertTrue(ObjectUtil.orIsNull(null, "")); assertFalse(ObjectUtil.orIsNull("", "0")); }