Interface WhitespaceRuns.RunHandler

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

@FunctionalInterface static interface WhitespaceRuns.RunHandler
Receives one whitespace-free stretch of a text.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(int from, int to)
    Handles one stretch.
  • Method Details

    • accept

      void accept(int from, int to)
      Handles one stretch.
      Parameters:
      from - The stretch start.
      to - The exclusive stretch end.