Add comment as to why equals() and hashCode() are not implemented

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1370149 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-08-07 08:58:37 +00:00
parent 6c8f74edd8
commit 1b434bcd8e
1 changed files with 2 additions and 0 deletions

View File

@ -445,6 +445,8 @@ public class NaturalRanking implements RankingAlgorithm {
return Double.compare(value, other.value);
}
// N.B. equals() and hashCode() are not implemented; see MATH-610 for discussion.
/**
* Returns the value of the pair.
* @return value