Java Number Min Value MIN_MAX(int min, int mid, int max)

Here you can find the source of MIN_MAX(int min, int mid, int max)

Description

MIMAX

License

Open Source License

Declaration

public static int MIN_MAX(int min, int mid, int max) 

Method Source Code

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

public class Main {
    public static int MIN_MAX(int min, int mid, int max) {
        return mid < min ? min : mid > max ? max : mid;
    }//from www  .j  a v  a  2s.  c  o  m
}

Related

  1. min3(int a, int b, int c)
  2. min3(int x, int y, int z)
  3. min4(double v1, double v2, double v3, double v4)
  4. MIN4(int x, int y, int z, int a)
  5. min8(double v1, double v2, double v3, double v4, double v5, double v6, double v7, double v8)
  6. minChar(String input)
  7. minCharsForCriteria(final int length, final int criteria)
  8. minCommonMultiple(int m, int n)
  9. minComparable(T first, T second)