[java] Java, Check if integer is multiple of a number