davegimo

Untitled

Feb 7th, 2021
441
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Arraylist<String> testi;
  2.  
  3.  
  4. public int ultimaNelTesto(String s){
  5.    
  6.     for (int i = testi.size() - 1; i >= 0; i-- ){
  7.         if (testi.get(i).equalsIgnoreCase(s)) {
  8.             return i;  
  9.         }
  10. }
  11.    
  12. return -1  
  13.  
  14. }
RAW Paste Data