// Path: src/main/java/com/skjegstad/utils/BloomFilter.java
// public interface BloomFilter<T> {
//     public void add(T element);
// 
//     public void add(byte[] element);
// 
//     public boolean contains(T element);
// 
//     public boolean contains(byte[] element);
// }


import com.skjegstad.utils.BloomFilter;
package de.danielbasedow.prospecter.core;


public interface TokenMapper {
    public int getTermId(String str, boolean dontGenerateNewIds);

// Path: src/main/java/com/skjegstad/utils/BloomFilter.java
// public interface BloomFilter<T> {
//     public void add(T element);
// 
//     public void add(byte[] element);
// 
//     public boolean contains(T element);
// 
//     public boolean contains(byte[] element);
// }


// Path: src/main/java/de/danielbasedow/prospecter/core/TokenMapper.java
import com.skjegstad.utils.BloomFilter;

package de.danielbasedow.prospecter.core;


public interface TokenMapper {
    public int getTermId(String str, boolean dontGenerateNewIds);

    public void setBloomFilter(BloomFilter<String> bloomFilter);