Interface ThrowableIntConsumer<E extends Throwable>

All Superinterfaces:
IntConsumer
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 ThrowableIntConsumer<E extends Throwable> extends IntConsumer
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept(int t)
     
    void
    acceptNow(int var1)
     

    Methods inherited from interface java.util.function.IntConsumer

    andThen
  • Method Details

    • accept

      default void accept(int t)
      Specified by:
      accept in interface IntConsumer
    • acceptNow

      void acceptNow(int var1) throws E
      Throws:
      E