Uses of Interface
com.google.common.hash.PrimitiveSink

Packages that use PrimitiveSink
com.google.common.hash Hash functions and related structures. 
 

Uses of PrimitiveSink in com.google.common.hash
 

Subinterfaces of PrimitiveSink in com.google.common.hash
 interface Hasher
          A PrimitiveSink that can compute a hash code after reading the input.
 

Methods in com.google.common.hash that return PrimitiveSink
 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)
          Puts a string into this sink.
 PrimitiveSink PrimitiveSink.putString(CharSequence charSequence, Charset charset)
          Puts a string into this sink using the given charset.
 

Methods in com.google.common.hash with parameters of type PrimitiveSink
static OutputStream Funnels.asOutputStream(PrimitiveSink sink)
          Wraps a PrimitiveSink as an OutputStream, so it is easy to funnel an object to a PrimitiveSink if there is already a way to write the contents of the object to an OutputStream.
 void Funnel.funnel(T from, PrimitiveSink into)
          Sends a stream of data from the from object into the sink into.
 



Copyright © 2010-2012. All Rights Reserved.