Here you can find the source of min3(int x, int y, int z)
Parameter | Description |
---|---|
x | a parameter |
y | a parameter |
z | a parameter |
public static int min3(int x, int y, int z)
//package com.java2s; public class Main { /** compute the minimum of three int variables (helper for Levenshtein) * @param x/*ww w .j a va 2 s.c o m*/ * @param y * @param z * @return the minimum of x, y and z */ public static int min3(int x, int y, int z) { return Math.min(x, Math.min(y, z)); } }