com.ibm.commons.util
Class DichotomySearch.StringArraySearch

java.lang.Object
  extended by com.ibm.commons.util.DichotomySearch
      extended by com.ibm.commons.util.DichotomySearch.StringSearch
          extended by com.ibm.commons.util.DichotomySearch.StringArraySearch
Enclosing class:
DichotomySearch

public static class DichotomySearch.StringArraySearch
extends DichotomySearch.StringSearch

Search a String in an array of Strings.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.commons.util.DichotomySearch
DichotomySearch.StringArraySearch, DichotomySearch.StringSearch
 
Constructor Summary
DichotomySearch.StringArraySearch(java.lang.String[] array, boolean ignoreCase)
           
 
Method Summary
 java.lang.String[] getArray()
           
 int getCount()
           
protected  java.lang.String getString(int idx)
           
 
Methods inherited from class com.ibm.commons.util.DichotomySearch.StringSearch
compareIndexWithValue, contains, search
 
Methods inherited from class com.ibm.commons.util.DichotomySearch
search
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DichotomySearch.StringArraySearch

public DichotomySearch.StringArraySearch(java.lang.String[] array,
                                         boolean ignoreCase)
Method Detail

getCount

public int getCount()
Specified by:
getCount in class DichotomySearch

getString

protected java.lang.String getString(int idx)
Specified by:
getString in class DichotomySearch.StringSearch

getArray

public java.lang.String[] getArray()