Here you can find the source of minimum(int a, int b, int c)
Parameter | Description |
---|---|
a | a parameter |
b | a parameter |
c | a parameter |
private static int minimum(int a, int b, int c)
//package com.java2s; /*/*www .jav a 2s . co m*/ * Copyright 2009 Pedro Oliveira * This file is part of Incerto. * * Incerto is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Incerto is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with Incerto. If not, see <http://www.gnu.org/licenses/>. */ public class Main { /** * Mininum of three integers * @param a * @param b * @param c * @return */ private static int minimum(int a, int b, int c) { return Math.min(Math.min(a, b), c); } }