public class LoggedSingleRelativeRanking extends Object implements DeepCompare
LoggedSingleRelativeRanking represents an X-Y coordinate of a
single point in a discrete CDF.
All of the public methods are simply accessors for the instance variables we
want to write out in the JSON files.| 构造器和说明 |
|---|
LoggedSingleRelativeRanking() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deepCompare(DeepCompare comparand,
TreePath loc) |
long |
getDatum() |
double |
getRelativeRanking() |
void |
setUnknownAttribute(String attributeName,
Object ignored) |
public double getRelativeRanking()
public long getDatum()
public void deepCompare(DeepCompare comparand, TreePath loc) throws DeepInequalityException
deepCompare 在接口中 DeepComparecomparand - the other comparand that's being compared to meloc - the path that got to me. In the root, myLocation is null. To
process the scalar foo field of the root we will make a
recursive call with a TreePath whose fieldName is
"bar" and whose index is -1 and whose parent is null. To process the plural bar field
of the root we will make a recursive call with a TreePath
whose fieldName is "foo" and whose index is -1 and
whose parent is also null.DeepInequalityExceptionCopyright © 2009 The Apache Software Foundation