Interface ShortConsumer

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 ShortConsumer
Non-boxing version of {@link java.util.function.Consumer}<Short>.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(short arg)
    Applies this function.
  • Method Details

    • accept

      void accept(short arg)
      Applies this function.
      Parameters:
      arg - the argument to accept