i have an array list that is holding two string arrays.. one dedicated to usernames and another to passwords
ArrayList<Person> popul = new ArrayList<Person>();
String[] u = {"Herp","Derp","LOL"};
String[] p = {"hello123", "qwerty42", "iliketurtles"};
in another class inside the main method i am trying to get the passwords from the popul arrayList to turn into hash.. i have set up a loop to get each password but I do not know how to get only from the password string array and not the username...
for(int x = 0; x < popul.size(); x++){
popul.get(x);
}
any help is greatly appreciated, thanks
popul
,people
,u
andp
. Please clarify. – Alp Jun 18 '11 at 22:51