org.apache.cocoon.util.murmurhash
Class MurmurHashCodeBuilder

java.lang.Object
  extended by org.apache.cocoon.util.murmurhash.MurmurHashCodeBuilder

public class MurmurHashCodeBuilder
extends Object

A hash code builder based on MurmurHash.


Constructor Summary
MurmurHashCodeBuilder()
           
 
Method Summary
 MurmurHashCodeBuilder append(byte[] byteArray)
           
 MurmurHashCodeBuilder append(int value)
           
 MurmurHashCodeBuilder append(long v)
           
 MurmurHashCodeBuilder append(String value)
           
protected  byte[] getBytes()
           
 int toHashCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MurmurHashCodeBuilder

public MurmurHashCodeBuilder()
Method Detail

append

public MurmurHashCodeBuilder append(byte[] byteArray)

append

public MurmurHashCodeBuilder append(int value)

append

public MurmurHashCodeBuilder append(long v)

append

public MurmurHashCodeBuilder append(String value)

toHashCode

public int toHashCode()

getBytes

protected byte[] getBytes()


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.