Here you can find the source of maxF(float a, float b)
public static float maxF(float a, float b)
//package com.java2s; //License from project: LGPL public class Main { /**//from ww w . j a v a2s . com * Unchecked implementation to determine the larger of two Floats. Parameters should be known to be valid in advance. */ public static float maxF(float a, float b) { return a > b ? a : b; } public static float maxF(int a, float b) { return a > b ? a : b; } public static float maxF(float a, int b) { return a > b ? a : b; } }