JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
io.reactivex.rxjava3.functions

Interface Consumer<T>

  • Type Parameters:
    T - the value type
    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 Consumer<T>
    A functional interface (callback) that accepts a single value.
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      void accept (T t)
      Consume the given value.
    • Method Detail

      • accept

        void accept(T t)
         throws Throwable 
        Consume the given value.
        Parameters:
        t - the value
        Throws:
        Throwable - if the implementation wishes to throw any type of exception
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /