Usage example of the convenience methods for toString()
Copy this code and paste it in your HTML
@Override
{
List
<java.
util.
Map<String,Object
>> list
= ClassUtils.
getArrayList(); list.
add(Util.
formatArg("size",getSize
())); list.
add(Util.
formatArg("max",getMax
())); list.
add(Util.
formatArg("min",getMin
())); list.
add(Util.
formatArg("arithmetic mean",getArithmeticMean
())); list.
add(Util.
formatArg("geometric mean",getGeometricMean
())); list.
add(Util.
formatArg("standard deviation",getStandardDeviation
())); list.
add(Util.
formatArg("variance",getVariance
())); return Util.
formatObjectToString(BasicNumericDataCollectorAction.
class,list
); }
Report this snippet
Comments
Subscribe to comments