Interface IndexShiftData.SingleElementShiftCallback

Enclosing class:
IndexShiftData
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public static interface IndexShiftData.SingleElementShiftCallback
  • Method Summary

    Modifier and Type Method Description
    void shift​(long key, long shiftDelta)
    Process the shift.
  • Method Details

    • shift

      void shift​(long key, long shiftDelta)
      Process the shift.
      Parameters:
      key - the key to shift
      shiftDelta - amount key has moved by