Java Number Max Value max4(double v1, double v2, double v3, double v4)

Here you can find the source of max4(double v1, double v2, double v3, double v4)

Description

max

License

Open Source License

Declaration

private static double max4(double v1, double v2, double v3, double v4) 

Method Source Code

//package com.java2s;
/*//  ww  w  . j  av a 2 s  .  c  o  m
 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

public class Main {
    private static double max4(double v1, double v2, double v3, double v4) {
        return Math.max(Math.max(v1, v2), Math.max(v3, v4));
    }
}

Related

  1. max255(float val)
  2. max3(double a, double b, double c)
  3. max3(int a, int b, int c)
  4. max3(int first, int second, int third)
  5. MAX3(int x, int y, int z)
  6. max8(double v1, double v2, double v3, double v4, double v5, double v6, double v7, double v8)
  7. maxDelta(float newValue, float oldValue, float maxChange)
  8. maxF(float a, float b)
  9. maxFill(final int n, final float f)