Индекс Список Java
//assuming you want to search for x in a list called 'list' manually, you can do the following
for(int i = 0; i < list.size(); i++) {
if(list.get(i) == x){
return i;
}
}
grepGuRu