Class Funnels.SequentialFunnel<E>

  • All Implemented Interfaces:
    Funnel<java.lang.Iterable<? extends E>>, java.io.Serializable
    Enclosing class:
    Funnels

    private static class Funnels.SequentialFunnel<E>
    extends java.lang.Object
    implements Funnel<java.lang.Iterable<? extends E>>, java.io.Serializable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      void funnel​(java.lang.Iterable<? extends E> from, PrimitiveSink into)
      Sends a stream of data from the from object into the sink into.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • elementFunnel

        private final Funnel<E> elementFunnel
    • Constructor Detail

      • SequentialFunnel

        SequentialFunnel​(Funnel<E> elementFunnel)
    • Method Detail

      • funnel

        public void funnel​(java.lang.Iterable<? extends E> from,
                           PrimitiveSink into)
        Description copied from interface: Funnel
        Sends a stream of data from the from object into the sink into. There is no requirement that this data be complete enough to fully reconstitute the object later.
        Specified by:
        funnel in interface Funnel<E>
      • toString

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object