org.mapdb
Interface Hasher<K>
public interface Hasher<K>
Calculates hash from an object. It also provides `equals` method.
Provides an alternative hashing method for HTreeMap
- Author:
- Jan Kotek
BASIC
static final Hasher BASIC
BYTE_ARRAY
static final Hasher<byte[]> BYTE_ARRAY
CHAR_ARRAY
static final Hasher<char[]> CHAR_ARRAY
INT_ARRAY
static final Hasher<int[]> INT_ARRAY
LONG_ARRAY
static final Hasher<long[]> LONG_ARRAY
DOUBLE_ARRAY
static final Hasher<double[]> DOUBLE_ARRAY
ARRAY
static final Hasher<Object[]> ARRAY
hashCode
int hashCode(K k)
equals
boolean equals(K k1,
K k2)
Copyright © 2014. All Rights Reserved.