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 lastSentence is different from sentence.
Methods inherited from class org.egothor.duplicity.algorithm.PermutatedMinsFiller
lastSentence - ordinal number of paragraph of last token
paragraph - ignored
sentence - ordinal number of paragraph of actual token
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.