de.malkusch.whoisServerList.publicSuffixList.index.IndexFactory Maven / Gradle / Ivy
package de.malkusch.whoisServerList.publicSuffixList.index;
import java.util.List;
import javax.annotation.concurrent.ThreadSafe;
import de.malkusch.whoisServerList.publicSuffixList.rule.Rule;
/**
* The index factory builds an {@code Index}.
*
* @author [email protected]
* @see Donations
* @since 2.0.0
*/
@ThreadSafe
public interface IndexFactory {
/**
* Builds an index from a rule list.
*
* @param rules the rule list, not null
* @return the index, not null
*/
Index build(List rules);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy