com.xiaoleilu.hutool.bloomFilter.filter
类 HfIpFilter
java.lang.Object
com.xiaoleilu.hutool.bloomFilter.filter.AbstractFilter
com.xiaoleilu.hutool.bloomFilter.filter.HfIpFilter
- 所有已实现的接口:
- Filter
public class HfIpFilter
- extends AbstractFilter
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HfIpFilter
public HfIpFilter(long maxValue,
int machineNum)
HfIpFilter
public HfIpFilter(long maxValue)
hash
public long hash(String str)
- 从接口
Filter 复制的描述
- 自定义Hash方法
- 指定者:
- 接口
Filter 中的 hash - 指定者:
- 类
AbstractFilter 中的 hash
- 参数:
str - 字符串
- 返回:
- HashCode
Copyright © 2014. All rights reserved.