3 Replies Latest reply: May 11, 2010 6:55 PM by jschellSomeoneStoleMyAlias RSS

    Using Java API for integer search

      I have an integer array and need to check whether a given integer is in the array or not repeatedly. If I need to code by myself, I likely would sort the array first and apply binary search against the sorted array. Since Java already provides some APIs to achieve this goal, I am wondering what is a combining API set for the fastest operation.