Package com.google.common.hash
Class Funnels.StringCharsetFunnel
- java.lang.Object
-
- com.google.common.hash.Funnels.StringCharsetFunnel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classFunnels.StringCharsetFunnel.SerializedForm
-
Field Summary
Fields Modifier and Type Field Description private java.nio.charset.Charsetcharset
-
Constructor Summary
Constructors Constructor Description StringCharsetFunnel(java.nio.charset.Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)voidfunnel(java.lang.CharSequence from, PrimitiveSink into)Sends a stream of data from thefromobject into the sinkinto.inthashCode()java.lang.StringtoString()(package private) java.lang.ObjectwriteReplace()
-
-
-
Method Detail
-
funnel
public void funnel(java.lang.CharSequence from, PrimitiveSink into)Description copied from interface:FunnelSends a stream of data from thefromobject into the sinkinto. There is no requirement that this data be complete enough to fully reconstitute the object later.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
writeReplace
java.lang.Object writeReplace()
-
-