Java Array Max Value max(float... fs)

Here you can find the source of max(float... fs)

Description

max

License

Open Source License

Declaration

public static float max(float... fs) 

Method Source Code

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

public class Main {
    public static float max(float... fs) {
        float result = Float.NEGATIVE_INFINITY;
        for (float f : fs)
            result = f > result ? f : result;
        return result;
    }/*  w w  w. j  ava2s .c  om*/
}

Related

  1. max(final Number... numbers)
  2. max(final T p_enum1, final T p_enum2, final T[] enumValues)
  3. max(final T... elements)
  4. max(float... a)
  5. max(float... fs)
  6. max(float... values)
  7. max(float[] floats)
  8. max(float[] in, int[] idx)
  9. max(float[] position, int x)