Logo Search packages:      
Sourcecode: jlha-utils version File versions  Download package

boolean org::jlhafrontend::JLHAFrontEnd::isInArray ( String  a,
String[]  b 
) [inline, private]

Decide a string is in a string array or not

a the string
b the array
true if a is in b

Definition at line 152 of file JLHAFrontEnd.java.

Referenced by extract(), list(), print(), test(), transferBackupToArchive(), and verboseList().

      int i;
      for (i=0 ; i<b.length ; i++) {
          if (a.compareTo(b[i])==0) {
            return true;
      return false;

Generated by  Doxygen 1.6.0   Back to index