gaurav1207:
I have a List
of long Arrays with the name Arraycells
:
List
Arraycells = new ArrayList() ;
Arraycells.add(new long[]{1L, 0L});
Arraycells.add(new long[]{1L, 1L});
Arraycells.add(new long[]{1L, 2L});
I want to see if a long array object is contained in this list or not:
for (long r = 0L; r for (long c = 0L; c if (Arraycells.contains(new long[]{r, c})) { // problem is with this statement
// do something
}
}
}
How can I check the Arraycells?
Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE