com.bigdata.service.jini.master
Class DefaultHashFunction<V>
java.lang.Object
com.bigdata.service.jini.master.DefaultHashFunction<V>
- All Implemented Interfaces:
- IHashFunction<V>, Serializable
public class DefaultHashFunction<V>
- extends Object
- implements IHashFunction<V>
Uses Object.hashCode().
- Version:
- $Id$
- Author:
- Bryan Thompson
- See Also:
- Serialized Form
|
Method Summary |
int |
hashFunction(V value)
Return the hash code of the value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHashFunction
public DefaultHashFunction()
hashFunction
public int hashFunction(V value)
- Description copied from interface:
IHashFunction
- Return the hash code of the value.
- Specified by:
hashFunction in interface IHashFunction<V>
- Parameters:
value - The value.
- Returns:
- The hash code.
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.