public class DocumentPermutatedMins extends Object
permutation unit minimum 1 12#1 33 1 13#1 31 1 13#2 10 2 13#1 45
Constructor and Description |
---|
DocumentPermutatedMins() |
DocumentPermutatedMins(DocumentPermutatedMins old) |
Modifier and Type | Method and Description |
---|---|
void |
addMinForPermutation(long permID,
TextUnitID unitID,
long min)
Adds minimum for given permutation and duplicity checking unit.
|
void |
close() |
void |
commit()
Computes the number of text units in the document.
|
boolean |
equals(Object obj) |
Collection<UnitPermutatedMin> |
getMinsForPermutation(long permID)
Returns collection of all UnitPermutatedMin objects for given permutation.
|
int |
getNumberOfTextUnits()
Returns the number of text units in the document.
|
int |
hashCode() |
void |
releaseMinsForPermutation(long permID)
Removes from the internal data structure informations about given permutation.
|
String |
toString() |
public DocumentPermutatedMins()
public DocumentPermutatedMins(DocumentPermutatedMins old)
old
- public Collection<UnitPermutatedMin> getMinsForPermutation(long permID)
UnitPermutatedMin(12#1 33) UnitPermutatedMin(13#1 31) UnitPermutatedMin(13#2 10)
permID
- identificator of the permutationpublic void addMinForPermutation(long permID, TextUnitID unitID, long min)
permID
- permutation idunitID
- duplicity checking idmin
- minimum valuepublic void releaseMinsForPermutation(long permID)
permID
- permutation to be releasedpublic int getNumberOfTextUnits()
public void commit() throws DuplicityCheckingException
getNumberOfTextUnits()
method.DuplicityCheckingException
- if the object data field is emptypublic boolean equals(Object obj)
public void close()
Copyright © 2016 Egothor. All Rights Reserved.