Interface RowSetUtils.Comparator

Enclosing class:
RowSetUtils

public static interface RowSetUtils.Comparator
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Compare the underlying target to the provided value.
  • Method Details

    • directionToTargetFrom

      int directionToTargetFrom(long value)
      Compare the underlying target to the provided value. Return -1, 0, or 1 if target is less than, equal, or greater than the provided value, respectively.
      Parameters:
      value -
      Returns:
      -1 if target < value; 0 if value == target; +1 if value < target.