fqmath.java

来自「基于JAVA实现的图像特征提取源代码 图像特征提取的源代码」· Java 代码 · 共 27 行

JAVA
27
字号
package fq;

public class FqMath {
	public static int max( int a , int b ){
		return	a > b ? a : b;
	}
	
	public static int max( int a , int b , int c ){
		int temp	=	max( a , b );
		return	temp > c ? temp : c;
	}
	
	public static double max( double a , double b ){
		return	a > b ? a : b;
	}
	
	public static int min( int a , int b ){
		return	a < b ? a : b;
	}
	
	public static int min( int a , int b , int c ){
		int temp	=	min( a , b );
		return	temp < c ? temp : c;
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?