Here you can find the source of mod(final int dividend, final int divisor)
public static int mod(final int dividend, final int divisor)
//package com.java2s; //License from project: Open Source License public class Main { public static int mod(final int dividend, final int divisor) { return dividend % divisor; }//from ww w. ja va2 s. c o m }