src/main/java/eu/digitisation/math/Counter.java
public int maxValue() {
        if (size() > 0) {
            return java.util.Collections.max(values());
        } else {
            return 0;
        }
    }
/**
     * Maximum value stored
     *
     * @return max stored value or 0 if no value is stored
     */
Maximum value stored
@return max stored value or 0 if no value is stored
Maximum value stored @return max stored value or 0 if no value is stored
public int maxValue() {
        if (size() > 0) {
            return java.util.Collections.max(values());
        } else {
            return 0;
        }
    }
public int maxValue ( ) { if ( size ( ) > 0 ) { return java . util . Collections . max ( values ( ) ) ; } else { return 0 ; } }
Maximum value stored
 @return max stored value or 0 if no value is stored
Maximum value stored @return max stored value or 0 if no value is stored