java.lang.Object
io.github.qsy7.examples.platform.java8.streams.prototype.TestConsumer
All Implemented Interfaces:
io.reactivex.functions.Consumer<String>

public class TestConsumer extends Object implements io.reactivex.functions.Consumer<String>
  • Field Details

    • name

      protected final String name
  • Constructor Details

    • TestConsumer

      public TestConsumer(String name)
  • Method Details

    • accept

      public void accept(String s)
      Specified by:
      accept in interface io.reactivex.functions.Consumer<String>