static class MultiThreadedTacletIndex.TacletSetMatchTask extends Object implements Callable<List<NoPosTacletApp>>
Modifier and Type | Field and Description |
---|---|
private int |
lower |
private PosInOccurrence |
pos |
private RuleFilter |
ruleFilter |
private Services |
services |
private NoPosTacletApp[] |
toMatch |
private int |
upper |
Constructor and Description |
---|
TacletSetMatchTask(NoPosTacletApp[] toMatch,
int lower,
int upper,
PosInOccurrence pos,
RuleFilter ruleFilter,
Services services)
Creates a task which matches all taclets in
toMatch
from lower including to upper excluding
against the term at position pos . |
private NoPosTacletApp[] toMatch
private final int lower
private final int upper
private Services services
private PosInOccurrence pos
private RuleFilter ruleFilter
public TacletSetMatchTask(NoPosTacletApp[] toMatch, int lower, int upper, PosInOccurrence pos, RuleFilter ruleFilter, Services services)
toMatch
from lower
including to upper
excluding
against the term at position pos
. Only taclets
passing the filter ruleFilter
are consideredtoMatch
- the list containing the taclets to be matchedlower
- the index (incl.) where to startupper
- the index (excl.) where to stoppos
- the PosInOccurrence
refering to the term to matchruleFilter
- RuleFilter
constraining the taclets to be matchedservices
- the Services
public List<NoPosTacletApp> call()
call
in interface Callable<List<NoPosTacletApp>>