Interface SearchUtil.IntComparator

  • Enclosing class:
    SearchUtil

    public static interface SearchUtil.IntComparator
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int compare​(int index)
      Return 0 for a match, -1 (too low) if we should continue searching after the index and +1 (too high) if we should continue searching before the index.
    • Method Detail

      • compare

        int compare​(int index)
        Return 0 for a match, -1 (too low) if we should continue searching after the index and +1 (too high) if we should continue searching before the index.