insertMins(DocumentPermutatedMins result,
long documentUID,
int documentDBRevision,
short paragraph,
short sentenceInParagraph,
long[] mins)
Inserts all mins to result.
protected boolean
newUnit(short lastParagraph,
int lastSentence,
short paragraph,
int sentence)
On paragraph level, new units is when lastParagraph is different from paragraph.
Methods inherited from class org.egothor.duplicity.algorithm.PermutatedMinsFiller
lastParagraph - ordinal number of paragraph of last token
lastSentence - ignored
paragraph - ordinal number of paragraph of actual token
sentence - ignored
Returns:
true on new unit
insertMins
protected void insertMins(DocumentPermutatedMins result,
long documentUID,
int documentDBRevision,
short paragraph,
short sentenceInParagraph,
long[] mins)
Inserts all mins to result.
After it sets fields of mins to Integer.MAX_VALUE.