Interface CycleDetector.LnrProvider<T>

Type Parameters:
T - The task type
Enclosing class:
CycleDetector
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 CycleDetector.LnrProvider<T>
Functional interface to provide the LNR (line number) for a task.
  • Method Summary

    Modifier and Type
    Method
    Description
    getLnr(T task)
    Returns the LNR (line number) for the given task.
  • Method Details

    • getLnr

      String getLnr(T task)
      Returns the LNR (line number) for the given task.
      Parameters:
      task - The task
      Returns:
      The LNR, or null if not available