Yes this definitely worked for me, so all you would have to do is adapt this little bit of code to your use.
int[] myArray = {1, 2, 3, 6, 8, 20, 25, 36, 39};
int position =...
Type: Posts; User: mspray
Yes this definitely worked for me, so all you would have to do is adapt this little bit of code to your use.
int[] myArray = {1, 2, 3, 6, 8, 20, 25, 36, 39};
int position =...
you may be able to use the binary search function "public static int binarySearch(short[] a, short key)" short[] a is the array to search in and short key is the value to search for. The only catch...