Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/main/java/org/apache/datasketches/Criteria.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
public enum Criteria {

/**
* Given an sorted array of increasing values <i>arr[]</i> and a key value <i>V</i>,
* Given a sorted array of increasing values <i>arr[]</i> and a key value <i>V</i>,
* this criterion instructs the binary search algorithm to find the highest adjacent pair of
* values <i>{A,B}</i> such that <i>A &lt; V &le; B</i>.
* The returned value from the binary search algorithm will be the index of <i>A</i>
Expand Down Expand Up @@ -125,7 +125,7 @@ String desc(final float[] arr, final int low, final int high, final float v, fin
},

/**
* Given an sorted array of increasing values <i>arr[]</i> and a key value <i>V</i>,
* Given a sorted array of increasing values <i>arr[]</i> and a key value <i>V</i>,
* this criterion instructs the binary search algorithm to find the highest adjacent pair of
* values <i>{A,B}</i> such that <i>A &le; V &lt; B</i>.
* The returned value from the binary search algorithm will be the index of <i>A</i>
Expand Down Expand Up @@ -188,7 +188,7 @@ String desc(final float[] arr, final int low, final int high, final float v, fin
},

/**
* Given an sorted array of increasing values <i>arr[]</i> and a key value <i>V</i>,
* Given a sorted array of increasing values <i>arr[]</i> and a key value <i>V</i>,
* this criterion instructs the binary search algorithm to find the adjacent pair of
* values <i>{A,B}</i> such that <i>A &le; V &le; B</i>.
* The returned value from the binary search algorithm will be the index of <i>A</i> or <i>B</i>,
Expand Down Expand Up @@ -250,7 +250,7 @@ String desc(final float[] arr, final int low, final int high, final float v, fin
},

/**
* Given an sorted array of increasing values <i>arr[]</i> and a key value <i>V</i>,
* Given a sorted array of increasing values <i>arr[]</i> and a key value <i>V</i>,
* this criterion instructs the binary search algorithm to find the lowest adjacent pair of
* values <i>{A,B}</i> such that <i>A &lt; V &le; B</i>.
* The returned value from the binary search algorithm will be the index of <i>B</i>
Expand Down Expand Up @@ -313,7 +313,7 @@ String desc(final float[] arr, final int low, final int high, final float v, fin
},

/**
* Given an sorted array of increasing values <i>arr[]</i> and a key value <i>V</i>,
* Given a sorted array of increasing values <i>arr[]</i> and a key value <i>V</i>,
* this criterion instructs the binary search algorithm to find the lowest adjacent pair of
* values <i>{A,B}</i> such that <i>A &le; V &lt; B</i>.
* The returned value from the binary search algorithm will be the index of <i>B</i>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/apache/datasketches/req/ReqSketch.java
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ public byte[] toByteArray() {
public String toString() {
final StringBuilder sb = new StringBuilder();
sb.append("**********Relative Error Quantiles Sketch Summary**********").append(LS);
sb.append(" K : " + k).append(LS);
sb.append(" N : " + totalN).append(LS);
sb.append(" Retained Items : " + retItems).append(LS);
sb.append(" Max Nominal Size: " + maxNomSize).append(LS);
Expand Down