I have a list that I fill out as follows
List<Float[]> list = new ArrayList<>();
list.add(new Float[]{x,y});
I want to do a test on this list a contains the x and y need to have a precise number just like this
private boolean containlist(float x, float y) {
return (x <730 && x > 710 && y <1114 && y >140);
}