daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public boolean bindSearch(String keycri, String valcri){
  2.         boolean teq = false;
  3.         boolean veq = false;
  4.         boolean keq = false;
  5.         keq = keycri.equals(key);
  6.        
  7.         String tempval = value.toLowerCase(); //value is an instance variable, like key up a line
  8.         valcri.toLowerCase();
  9.        
  10.         veq = tempval.contains(valcri);
  11.        
  12.         if(keq == true && veq == true)
  13.             teq = true;
  14.        
  15.         else
  16.             teq = false;
  17.        
  18.         return teq;
  19.        
  20.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top