List of usage examples for org.apache.commons.lang3.mutable MutableFloat MutableFloat
public MutableFloat()
From source file:org.astrojournal.generator.statistics.BasicStatistics.java
/** * Increment the counting for this target type. * // w ww . ja va 2s . c o m * @param map * The map to use * @param type * The type to increment. */ private void incrementFloatMap(HashMap<String, MutableFloat> map, String type) { if (!map.containsKey(type)) { map.put(type, new MutableFloat()); } map.get(type).increment(); }