List of utility methods to do Array Value Any
boolean | anyInstance(Throwable t, Class extends Throwable>[] types) any Instance for (Class<? extends Throwable> type : types) { if (type.isInstance(t)) return true; return false; |
boolean | anyIsTrue(Boolean... conditions) Indicates whether any of the given conditions are not null and true. if (conditions != null) { for (Boolean condition : conditions) { if (condition != null && condition.booleanValue()) { return true; return false; ... |
boolean | anyMore(int[] target, int[] test) any More assert target.length == test.length : "Unable to compare: different sizes"; for (int i = 0; i < target.length; i++) { if (target[i] > test[i]) return true; return false; |
String | anyNoneNull(String... arrays) any None Null if (null == arrays || 0 >= arrays.length) { return EMPTY_STRING; for (String string : arrays) { if (isNotBlank(string)) { return string.trim(); return EMPTY_STRING; |
boolean | anyNotNull(final Object... values) Checks if any value in the given array is not null . return firstNonNull(values) != null;
|
boolean | anyNotNull(Object... tests) Returns true if any value in the passed array is non-null return coalesce(tests) != null;
|
boolean | anyNull(Object... args) Any null. for (Object arg : args) { if (arg == null) { return true; return false; |
boolean | anyNull(Object... args) any Null return !noneNull(args);
|
boolean | anyNull(Object... objects) any Null for (Object object : objects) { if (object == null) { return true; return false; |
boolean | anyNull(Object... objs) Indicates whether any of the objects are null . for (int i = 0; i < objs.length; i++) { if (null == objs[i]) return true; return false; |