Java Array Max Value max(int[] values)

Here you can find the source of max(int[] values)

Description

Returns the greatest of int values.

License

Open Source License

Parameter

Parameter Description
values an argument. Assume values.length > 0.

Return

the largest of values.

Declaration

public static int max(int[] values) 

Method Source Code

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

public class Main {
    /**//from  ww w .  jav  a2 s .  c  om
     * Returns the greatest of {@code int} values.
     *
     * @param values an argument. Assume values.length > 0.
     * @return the largest of values.
     */
    public static int max(int[] values) {
        throw new UnsupportedOperationException();
    }
}

Related

  1. max(int[] nums)
  2. max(int[] t)
  3. max(int[] vals, int max)
  4. max(int[] values)
  5. max(int[] values)
  6. max(int[] values)
  7. max(int[] values)
  8. max(int[] vs)
  9. max(int[] x, int length)