ArrayList of my objects, indexOf problem
Posted
by majtits
on Stack Overflow
See other posts from Stack Overflow
or by majtits
Published on 2010-05-05T00:16:41Z
Indexed on
2010/05/05
0:18 UTC
Read the original article
Hit count: 157
Hello! I have problem with Java's ArrayList. I've created an Object, that contains two atributes, x and y. Now I've loaded some object in my ArrayList. Problem is that I don't know how to find index of some object with x atribute I'm searching. Is there any way to do this?
© Stack Overflow or respective owner