Java Integer Mod modulus(int[] array)

Here you can find the source of modulus(int[] array)

Description

modulus

License

Open Source License

Declaration

public static int modulus(int[] array) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static int modulus(int[] array) {
        return array[0] % array[array.length - 1];
    }/*from  www.  j  a  va2 s  .  c  om*/
}

Related

  1. moduloPositive(final int value, final int size)
  2. moduloPowerOfTwo(final int x, final int powerOfTwoY)
  3. modulus(int a, int b)
  4. modulus(int a, int b)
  5. modulus(int value, int truncate, boolean flag)