public abstract class SearchSupport<T> extends Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
SearchSupport.FieldDefs<T> |
Modifier and Type | Method and Description |
---|---|
protected T[] |
emptyArray() |
jp.go.nict.langrid.commons.util.Pair<T[],Integer> |
filter(T[] target,
int from,
int count) |
protected Comparator<T> |
getComparator(Order[] orders) |
protected abstract Class<T> |
getComponentType() |
protected abstract SearchSupport.FieldDefs<T> |
getDefinition(String fieldName) |
protected Boolean |
match(MatchingCondition cond,
T obj) |
public final jp.go.nict.langrid.commons.util.Pair<T[],Integer> filter(T[] target, int from, int count)
protected T[] emptyArray()
protected Boolean match(MatchingCondition cond, T obj)
protected Comparator<T> getComparator(Order[] orders)
protected abstract SearchSupport.FieldDefs<T> getDefinition(String fieldName)