Interface Acceptable<T>

All Superinterfaces:
Consumer<T>
All Known Subinterfaces:
SignalLike<T>
All Known Implementing Classes:
AtomicSignal, Computed, LazyComputed, Signal, SignalDecorator, Trigger

public interface Acceptable<T> extends Consumer<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept(T value)
     
    void
    transform(Function<T,T> transform)
     

    Methods inherited from interface java.util.function.Consumer

    andThen
  • Method Details

    • transform

      void transform(Function<T,T> transform)
    • accept

      default void accept(T value)
      Specified by:
      accept in interface Consumer<T>