@@ -66,41 +66,49 @@ public Group init(final String priKey, final int count, final double estimate, f
6666 }
6767
6868 /**
69- * @return priKey of type T
69+ * Gets the primary key of type String
70+ * @return priKey of type String
7071 */
7172 public String getPrimaryKey () { return priKey ; }
7273
7374 /**
75+ * Returns the count
7476 * @return the count
7577 */
7678 public int getCount () { return count ; }
7779
7880 /**
81+ * Returns the estimate
7982 * @return the estimate
8083 */
8184 public double getEstimate () { return est ; }
8285
8386 /**
87+ * Returns the upper bound
8488 * @return the upper bound
8589 */
8690 public double getUpperBound () { return ub ; }
8791
8892 /**
93+ * Returns the lower bound
8994 * @return the lower bound
9095 */
9196 public double getLowerBound () { return lb ; }
9297
9398 /**
99+ * Returns the fraction for this group
94100 * @return the fraction for this group
95101 */
96102 public double getFraction () { return fraction ; }
97103
98104 /**
105+ * Returns the RSE
99106 * @return the RSE
100107 */
101108 public double getRse () { return rse ; }
102109
103110 /**
111+ * Returns the descriptive header
104112 * @return the descriptive header
105113 */
106114 public String getHeader () {
@@ -112,9 +120,6 @@ public String toString() {
112120 return String .format (fmt , count , est , ub , lb , fraction , rse , priKey );
113121 }
114122
115- /**
116- * @param that The Group to compare to
117- */
118123 @ Override
119124 public int compareTo (final Group that ) {
120125 return that .count - count ; //decreasing
@@ -133,4 +138,3 @@ public int hashCode() {
133138 }
134139
135140}
136-
0 commit comments