com.browseengine.bobo.facets.data.TermListFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bobo-browse Show documentation
Show all versions of bobo-browse Show documentation
Bobo is a Faceted Search implementation written purely in Java, an extension of Apache Lucene
The newest version!
package com.browseengine.bobo.facets.data;
public interface TermListFactory {
TermValueList createTermList(int capacity);
TermValueList createTermList();
Class> getType();
public static TermListFactory StringListFactory = new TermListFactory() {
public TermValueList createTermList(int capacity) {
return new TermStringList(capacity);
}
public TermValueList createTermList() {
return createTermList(-1);
}
public Class> getType() {
return String.class;
}
};
}