|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ov4j.comp.ComparisonResult<java.net.URI>
org.ov4j.comp.URIComparisonResult
public class URIComparisonResult
This class is used to compare URIs.
Constructor Summary | |
---|---|
URIComparisonResult()
|
Method Summary | |
---|---|
void |
compute()
Perform metric computation. |
void |
fastCompute()
Perform fast computation, only setting precision to 1.0 to indicate that both items are the same or to anything else otherwise. |
static java.net.URI |
normalizeURI(java.net.URI uri)
Normalize the URI so it can be sorted and compared. |
Methods inherited from class org.ov4j.comp.ComparisonResult |
---|
findComparisonResultClass, getChanged, getFalseNegatives, getFalsePositives, getMatches, getOriginal, getPrecision, getRecall, numFalseNegatives, numFalsePositives, numMatches, setChanged, setFalseNegatives, setFalsePositives, setMatches, setOriginal, setPrecision, setRecall |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URIComparisonResult()
Method Detail |
---|
public static java.net.URI normalizeURI(java.net.URI uri) throws java.net.UnknownHostException, java.net.URISyntaxException
uri
- URI to normalize.
java.net.UnknownHostException
java.net.URISyntaxException
public void compute()
ComparisonResult
compute
in class ComparisonResult<java.net.URI>
ComparisonResult.compute()
public void fastCompute()
ComparisonResult
fastCompute
in class ComparisonResult<java.net.URI>
ComparisonResult.fastCompute()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |