Skip to content

Commit

Permalink
Update DataPoint#valueEquals Javadoc
Browse files Browse the repository at this point in the history
Updated the Javadoc of the DataPoint#valueEquals
method so that it identifies that true is only
returned when the data point type is also the same.
  • Loading branch information
alexjhawk committed May 15, 2024
1 parent 02af36f commit 431ebc2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public String toString() {
* Compares the data point's value to another data point's value.
*
* @param p data point to compare
* @return true if values are equal
* @return true if data points are of the same type and values are equal
*/
public abstract boolean valueEquals(DataPoint p);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public boolean equals(DataPoint p) {
* Compares the data point's value to another data point's value.
*
* @param p data point to compare
* @return true if values are equal
* @return true if data points are of the same type and values are equal
*/
public boolean valueEquals(DataPoint p) {
boolean returnVal = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public boolean equals(DataPoint p) {
* Compares the data point's value to another data point's value.
*
* @param p data point to compare
* @return true if values are equal
* @return true if data points are of the same type and values are equal
*/
public boolean valueEquals(DataPoint p) {
boolean returnVal = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public boolean equals(DataPoint p) {
* Compares the data point's value to another data point's value.
*
* @param p data point to compare
* @return true if values are equal
* @return true if data points are of the same type and values are equal
*/
public boolean valueEquals(DataPoint p) {
boolean returnVal = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public boolean equals(DataPoint p) {
* Compares the data point's value to another data point's value.
*
* @param p data point to compare
* @return true if values are equal
* @return true if data points are of the same type and values are equal
*/
public boolean valueEquals(DataPoint p) {
boolean returnVal = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public boolean equals(DataPoint p) {
* Compares the data point's value to another data point's value.
*
* @param p data point to compare
* @return true if values are equal
* @return true if data points are of the same type and values are equal
*/
public boolean valueEquals(DataPoint p) {
boolean returnVal = false;
Expand Down

0 comments on commit 431ebc2

Please sign in to comment.