static class MultiThreadedTacletIndex.TacletSetMatchTask extends java.lang.Object implements java.util.concurrent.Callable<java.util.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 . |
Modifier and Type | Method and Description |
---|---|
java.util.List<NoPosTacletApp> |
call() |
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 java.util.List<NoPosTacletApp> call()
call
in interface java.util.concurrent.Callable<java.util.List<NoPosTacletApp>>