Interface SearchUtil.IntComparator

Enclosing class:
SearchUtil

public static interface SearchUtil.IntComparator
  • Method Summary

    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 Details

    • 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.