Package com.google.common.hash
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
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
funnel
(CharSequence from, PrimitiveSink into) Sends a stream of data from thefrom
object into the sinkinto
.int
hashCode()
private void
readObject
(ObjectInputStream stream) toString()
(package private) Object
-
Field Details
-
charset
-
-
Constructor Details
-
StringCharsetFunnel
StringCharsetFunnel(Charset charset)
-
-
Method Details
-
funnel
Description copied from interface:Funnel
Sends a stream of data from thefrom
object into the sinkinto
. There is no requirement that this data be complete enough to fully reconstitute the object later.- Specified by:
funnel
in interfaceFunnel<CharSequence>
-
toString
-
equals
-
hashCode
public int hashCode() -
writeReplace
Object writeReplace() -
readObject
- Throws:
InvalidObjectException
-