Interface ProblemSink

All Superinterfaces:
Consumer<Problem>
All Known Subinterfaces:
Terminal
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 interface ProblemSink extends Consumer<Problem>

A place for problems to fall down when the user should know about them, but they're not going to stop execution.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ProblemSink
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept(Problem problem)
     
    void
    log(Problem problem)
     

    Methods inherited from interface java.util.function.Consumer

    andThen