Class SinkNull<T>

  • All Implemented Interfaces:
    Closeable, Sink<T>

    public class SinkNull<T>
    extends java.lang.Object
    implements Sink<T>
    • Constructor Detail

      • SinkNull

        public SinkNull()
    • Method Detail

      • create

        public static <X> SinkNull<X> create()
      • send

        public void send​(T thing)
        Specified by:
        send in interface Sink<T>
      • close

        public void close()
        Specified by:
        close in interface Closeable
      • flush

        public void flush()
        Specified by:
        flush in interface Sink<T>