IntExtension extension

An int extension.

on

Methods

incrementBy(int step) → int

Available on int, provided by the IntExtension extension

This int incremented by step.
nonZeroMod(int n) → int

Available on int, provided by the IntExtension extension

The modulo n of this int, returning n when the modulo would give 0.