Class Functions.EmptyConsumer

  • All Implemented Interfaces:
    Consumer<java.lang.Object>
    Enclosing class:
    Functions

    static final class Functions.EmptyConsumer
    extends java.lang.Object
    implements Consumer<java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      EmptyConsumer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(java.lang.Object v)
      Consume the given value.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EmptyConsumer

        EmptyConsumer()
    • Method Detail

      • accept

        public void accept​(java.lang.Object v)
        Description copied from interface: Consumer
        Consume the given value.
        Specified by:
        accept in interface Consumer<java.lang.Object>
        Parameters:
        v - the value
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object