mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -16,7 +16,7 @@ public interface BloomFilter extends Serializable{
|
||||
* @param str 字符串
|
||||
* @return 判断一个字符串是否bitMap中存在
|
||||
*/
|
||||
public boolean contains(String str);
|
||||
boolean contains(String str);
|
||||
|
||||
/**
|
||||
* 在boolean的bitMap中增加一个字符串<br>
|
||||
@@ -25,5 +25,5 @@ public interface BloomFilter extends Serializable{
|
||||
* @param str 字符串
|
||||
* @return 是否加入成功,如果存在就返回<code>false</code> .如果不存在返回<code>true</code>
|
||||
*/
|
||||
public boolean add(String str);
|
||||
boolean add(String str);
|
||||
}
|
@@ -8,22 +8,22 @@ package cn.hutool.bloomfilter.bitMap;
|
||||
*/
|
||||
public interface BitMap{
|
||||
|
||||
public final int MACHINE32 = 32;
|
||||
public final int MACHINE64 = 64;
|
||||
int MACHINE32 = 32;
|
||||
int MACHINE64 = 64;
|
||||
|
||||
/**
|
||||
* 加入值
|
||||
*
|
||||
* @param i 值
|
||||
*/
|
||||
public void add(long i);
|
||||
void add(long i);
|
||||
|
||||
/**
|
||||
* 检查是否包含值
|
||||
*
|
||||
* @param i 值
|
||||
*/
|
||||
public boolean contains(long i);
|
||||
boolean contains(long i);
|
||||
|
||||
/**
|
||||
* 移除值
|
||||
|
Reference in New Issue
Block a user