Class Funnels.SequentialFunnel<E>

java.lang.Object
com.google.common.hash.Funnels.SequentialFunnel<E>
All Implemented Interfaces:
Funnel<Iterable<? extends E>>, Serializable
Enclosing class:
Funnels

private static class Funnels.SequentialFunnel<E> extends Object implements Funnel<Iterable<? extends E>>, Serializable
  • Field Details

    • elementFunnel

      private final Funnel<E> elementFunnel
  • Constructor Details

    • SequentialFunnel

      SequentialFunnel(Funnel<E> elementFunnel)
  • Method Details

    • funnel

      public void funnel(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 String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(@CheckForNull Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object