io.polaris.core.hash.Hash64 Maven / Gradle / Ivy
package io.polaris.core.hash;
/**
* @author Qt
* @since 1.8, Aug 01, 2023
*/
@FunctionalInterface
public interface Hash64 extends Hash {
/**
* 计算Hash值
*
* @param t 对象
* @return hash
*/
long hash64(T t);
@Override
default Number hash(T t) {
return hash64(t);
}
}