Package ch.njol.util

Interface Setter<T>

All Superinterfaces:
Consumer<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Deprecated(forRemoval=true) @FunctionalInterface public interface Setter<T> extends Consumer<T>
Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept(T t)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    set(T t)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from interface java.util.function.Consumer

    andThen
  • Method Details

    • set

      void set(T t)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • accept

      default void accept(T t)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      accept in interface Consumer<T>