Code example for BigDecimal

Methods: compareTo

0
        return recursiveMinimumSize;
    } 
 
    @Override 
    public int compareTo(ParseletInstance o) {
        int compare = precedence.compareTo(o.precedence);
        return compare != 0 ? compare : name.compareTo(o.name);
    } 
     
    void incrementTotalCount(long ms) {
        totalCount++;
        totalMs += ms;
    } 
     
    public int getTotalCount() { 
        return totalCount;
    } 
     
    public long getTotalMs() { 
        return totalMs;
    }