ArrayList finding the int value of position in List : java nub here. Stuck on my algorithm, all I am trying to do is print the position where my tradeaway string matches in my playerNames List. I want the index position in my playerNames, so I

<!-- begin snippet: js hide: false console: true babel: false -->

<!-- language: lang-html -->

    	
    	public static void evaluationOfTrade(List tradeAway, List playerNames){
    		
    		for(int i=tradeAway.size();i>0;i--){
    			String playerAway=(String) tradeAway.get(0);
    			String playerAwaySearch=(String) playerNames.get(i);
    			
    			
    			if(playerAway.equals(playerNames)){
    				System.out.println("Player found:"+" "+playerNames.get(i).toString()+" Index is : "+ playerNames.indexOf(playerNames.get(i)));
    			}
    			
    		}
    		
    		
    		
    	}

<!-- end snippet -->

ater. Any help? Been trying to read up on arrayLists all day cant seem to find my answer.

thanks