*/
public boolean isDuplicate(String id) {
boolean answer = false;
String seed = IdGenerator.getSeedFromId(id);
if (seed != null) {
BitArrayBin bab = (BitArrayBin) map.get(seed);
if (bab == null) {
bab = new BitArrayBin(windowSize);
map.put(seed, bab);
}
long index = IdGenerator.getCountFromId(id);
if (index >= 0) {
answer = bab.setBit(index, true);
}
}
return answer;
}