public class UnitPermutatedMin extends DuplicityCheckingFileElement
Modifier and Type | Field and Description |
---|---|
static Comparator<UnitPermutatedMin> |
compMin
Comparator using min field for the class UnitPermutatedMin.
|
static Comparator<UnitPermutatedMin> |
compUnitID
Comparator using unitID field for the class UnitPermutatedMin.
|
Constructor and Description |
---|
UnitPermutatedMin() |
UnitPermutatedMin(long min,
TextUnitID unitID) |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(UnitPermutatedMin from)
Copies the values of all fields from given instance.
|
boolean |
equals(Object obj) |
long |
getMin() |
TextUnitID |
getUnitID() |
int |
hashCode() |
boolean |
isRelatedTo(Set<DocumentUnitID> set)
Returns true, if the document is present in the given set of documents.
|
void |
load(DataInputStream dis) |
void |
setMin(long min) |
void |
store(DataOutputStream dos) |
String |
toString() |
public static Comparator<UnitPermutatedMin> compMin
public static Comparator<UnitPermutatedMin> compUnitID
public UnitPermutatedMin()
public UnitPermutatedMin(long min, TextUnitID unitID)
public TextUnitID getUnitID()
public long getMin()
public void setMin(long min)
public void copyFrom(UnitPermutatedMin from)
from
- instance to copy values frompublic void store(DataOutputStream dos) throws IOException
store
in class DuplicityCheckingFileElement
IOException
public void load(DataInputStream dis) throws IOException
load
in class DuplicityCheckingFileElement
IOException
public boolean isRelatedTo(Set<DocumentUnitID> set)
isRelatedTo
in class DuplicityCheckingFileElement
set
- set of document identificatorsCopyright © 2016 Egothor. All Rights Reserved.