Class Funnels.StringCharsetFunnel

  • All Implemented Interfaces:
    Funnel<java.lang.CharSequence>, java.io.Serializable
    Enclosing class:
    Funnels

    private static class Funnels.StringCharsetFunnel
    extends java.lang.Object
    implements Funnel<java.lang.CharSequence>, java.io.Serializable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.nio.charset.Charset charset  
    • Constructor Summary

      Constructors 
      Constructor Description
      StringCharsetFunnel​(java.nio.charset.Charset charset)  
    • Method Summary

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

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

      • charset

        private final java.nio.charset.Charset charset
    • Constructor Detail

      • StringCharsetFunnel

        StringCharsetFunnel​(java.nio.charset.Charset charset)
    • Method Detail

      • funnel

        public void funnel​(java.lang.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<java.lang.CharSequence>
      • toString

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

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

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

        java.lang.Object writeReplace()