Here you can find the source of min(int one, int two, int three)
Parameter | Description |
---|---|
one | a parameter |
two | a parameter |
three | a parameter |
private static int min(int one, int two, int three)
//package com.java2s; //License from project: Apache License public class Main { /**//from w ww . j a va 2 s. com * * @param one * @param two * @param three * @return */ private static int min(int one, int two, int three) { int min = one; if (two < min) { min = two; } if (three < min) { min = three; } return min; } }