Class Funnels.StringCharsetFunnel

java.lang.Object
com.google.common.hash.Funnels.StringCharsetFunnel
All Implemented Interfaces:
Funnel<CharSequence>, Serializable
Enclosing class:
Funnels

private static class Funnels.StringCharsetFunnel extends Object implements Funnel<CharSequence>, Serializable
  • Field Details

    • charset

      private final Charset charset
  • Constructor Details

    • StringCharsetFunnel

      StringCharsetFunnel(Charset charset)
  • Method Details

    • funnel

      public void funnel(CharSequence 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<CharSequence>
    • 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
    • writeReplace

      Object writeReplace()