MCPcopy Index your code
hub / github.com/apache/groovy / increment

Method increment

src/main/java/groovy/lang/NumberRange.java:761–764  ·  view source on GitHub ↗

Increments by given step @param value the value to increment @param step the amount to increment @return the incremented value

(Object value, Number step)

Source from the content-addressed store, hash-verified

759 * @return the incremented value
760 */
761 @SuppressWarnings("unchecked")
762 private Comparable increment(Object value, Number step) {
763 return (Comparable) plus((Number) value, step);
764 }
765
766 /**
767 * Decrements by given step

Callers 1

fetchNextIfNeededMethod · 0.45

Calls 1

plusMethod · 0.45

Tested by

no test coverage detected