Java Utililty Methods Array Value Any

List of utility methods to do Array Value Any

Description

The list of methods to do Array Value Any are organized into topic(s).

Method

booleananyInstance(Throwable t, Class[] types)
any Instance
for (Class<? extends Throwable> type : types) {
    if (type.isInstance(t))
        return true;
return false;
booleananyIsTrue(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;
...
booleananyMore(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;
StringanyNoneNull(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;
booleananyNotNull(final Object... values)
Checks if any value in the given array is not null .
return firstNonNull(values) != null;
booleananyNotNull(Object... tests)
Returns true if any value in the passed array is non-null
return coalesce(tests) != null;
booleananyNull(Object... args)
Any null.
for (Object arg : args) {
    if (arg == null) {
        return true;
return false;
booleananyNull(Object... args)
any Null
return !noneNull(args);
booleananyNull(Object... objects)
any Null
for (Object object : objects) {
    if (object == null) {
        return true;
return false;
booleananyNull(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;