krati.util
Interface HashFunction<K>

All Known Implementing Classes:
FnvHashFunction, JenkinsHashFunction, MurmurHashFunction

public interface HashFunction<K>

HashFunction A hash function for mapping bytes to long

Author:
jwu

Field Summary
static long MAX_HASH_CODE
           
static long MIN_HASH_CODE
           
static long NON_HASH_CODE
           
 
Method Summary
 long hash(K key)
           
 

Field Detail

NON_HASH_CODE

static final long NON_HASH_CODE
See Also:
Constant Field Values

MIN_HASH_CODE

static final long MIN_HASH_CODE
See Also:
Constant Field Values

MAX_HASH_CODE

static final long MAX_HASH_CODE
See Also:
Constant Field Values
Method Detail

hash

long hash(K key)


Copyright © 2011. All Rights Reserved.