|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.join.RowLink
uk.ac.starlink.table.join.RowLink2
public class RowLink2
RowLink subclass which specifically contains two items (a pair).
As well as standard RowLink
functionality, this object
can also contain a 'score', which is an uninterpreted number.
Typically this is used to record how good the match represented
by a link is. This value is not taken account of in either
compareTo
, equals
or hashCode
methods.
Constructor Summary | |
---|---|
RowLink2(RowRef rowA,
RowRef rowB)
Constructor. |
Method Summary | |
---|---|
double |
getScore()
Returns the score associated with this link. |
void |
setScore(double score)
Sets the score associated with this link. |
Methods inherited from class uk.ac.starlink.table.join.RowLink |
---|
compareTo, equals, getRef, hashCode, size, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RowLink2(RowRef rowA, RowRef rowB)
rowA
- one rowrowB
- the other rowMethod Detail |
---|
public void setScore(double score)
score
- new scorepublic double getScore()
NaN
.
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |