Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int getSpecificAccountIndex(int nr)
- {
- int index = 0;
- for( int i = 0; i < accountList.size(); i++)
- {
- if(accountList.get(i).getAccountNumber() == nr)
- {
- index = accountList.indexOf(i);
- }
- }
- return index;
- }
Add Comment
Please, Sign In to add comment