| Package | Description | 
|---|---|
| com.google.common.hash | Hash functions and related structures. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | HasherA  PrimitiveSinkthat can compute a hash code after reading the input. | 
| Modifier and Type | Method and Description | 
|---|---|
| PrimitiveSink | PrimitiveSink. putBoolean(boolean b)Puts a boolean into this sink. | 
| PrimitiveSink | PrimitiveSink. putByte(byte b)Puts a byte into this sink. | 
| PrimitiveSink | PrimitiveSink. putBytes(byte[] bytes)Puts an array of bytes into this sink. | 
| PrimitiveSink | PrimitiveSink. putBytes(byte[] bytes,
                int off,
                int len)Puts a chunk of an array of bytes into this sink. | 
| PrimitiveSink | PrimitiveSink. putChar(char c)Puts a character into this sink. | 
| PrimitiveSink | PrimitiveSink. putDouble(double d)Puts a double into this sink. | 
| PrimitiveSink | PrimitiveSink. putFloat(float f)Puts a float into this sink. | 
| PrimitiveSink | PrimitiveSink. putInt(int i)Puts an int into this sink. | 
| PrimitiveSink | PrimitiveSink. putLong(long l)Puts a long into this sink. | 
| PrimitiveSink | PrimitiveSink. putShort(short s)Puts a short into this sink. | 
| PrimitiveSink | PrimitiveSink. putString(CharSequence charSequence,
                  Charset charset)Puts a string into this sink using the given charset. | 
| PrimitiveSink | PrimitiveSink. putUnencodedChars(CharSequence charSequence)Puts each 16-bit code unit from the  CharSequenceinto this sink. | 
| Modifier and Type | Method and Description | 
|---|---|
| static OutputStream | Funnels. asOutputStream(PrimitiveSink sink)Wraps a  PrimitiveSinkas anOutputStream, so it is easy tofunnelan object to aPrimitiveSinkif there is already a way to write the contents of the object to anOutputStream. | 
| void | Funnel. funnel(T from,
            PrimitiveSink into)Sends a stream of data from the  fromobject into the sinkinto. | 
Copyright © 2010-2015. All Rights Reserved.