src/share/classes/java/util/IntSummaryStatistics.java
Print this page
rev 7213 : 8015686: {Int|Long}SummaryStatistics toString() throws IllegalFormatConversionException
Reviewed-by: duke
*** 157,167 ****
* debugging. The exact presentation format is unspecified and may vary
* between implementations and versions.
*/
public String toString() {
return String.format(
! "%s{count=%d, sum=%d, min=%d, average=%d, max=%d}",
this.getClass().getSimpleName(),
getCount(),
getSum(),
getMin(),
getAverage(),
--- 157,167 ----
* debugging. The exact presentation format is unspecified and may vary
* between implementations and versions.
*/
public String toString() {
return String.format(
! "%s{count=%d, sum=%d, min=%d, average=%f, max=%d}",
this.getClass().getSimpleName(),
getCount(),
getSum(),
getMin(),
getAverage(),