Interface IndexShiftData.Callback

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.Callback
  • Method Summary

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

    • shift

      void shift​(long beginRange, long endRange, long shiftDelta)
      Process the shift.
      Parameters:
      beginRange - start of range (inclusive)
      endRange - end of range (inclusive)
      shiftDelta - amount range has moved by