Java Array Value Any any(boolean[] b)

Here you can find the source of any(boolean[] b)

Description

any

License

Open Source License

Declaration

public static boolean any(boolean[] b) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static boolean any(boolean[] b) {
        for (int i = 0; i < b.length; i++)
            if (b[i])
                return true;
        return false;
    }/*from  ww  w.  jav a2  s  .  co m*/
}

Related

  1. any(boolean[] values)
  2. any(final String a, final String b)
  3. anyAreEmpty(String... words)
  4. anyBlank(String... ss)