Skip to content

Commit

Permalink
Add comment for BinaryStatistics.setMinMaxFromBytes
Browse files Browse the repository at this point in the history
  • Loading branch information
asingh committed Jun 30, 2015
1 parent fbe873f commit 0e71728
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ public void mergeStatisticsMinMax(Statistics stats) {
}
}

/**
* Sets min and max values, re-uses the byte[] passed in.
* Any changes made to byte[] will be reflected in min and max values as well.
* @param minBytes byte array to set the min value to
* @param maxBytes byte array to set the max value to
*/
@Override
public void setMinMaxFromBytes(byte[] minBytes, byte[] maxBytes) {
max = Binary.fromReusedByteArray(maxBytes);
Expand Down

0 comments on commit 0e71728

Please sign in to comment.