⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 objutils.java

📁 FMJ(freedom media for java)是java视频开发的新选择
💻 JAVA
字号:
package com.lti.utils;/** * Utilities for performing equality tests, and doing deep copies and deep compares of objects. * * @author Ken Larson */public final class ObjUtils{		private ObjUtils()	{	super();	}	public static boolean equal(Object o1, Object o2)	{		if (o1 == null && o2 == null)			return true;				if (o1 == null || o2 == null)			return false;				//if (o1.getClass() != o2.getClass())		//	return false;				return o1.equals(o2);			}	}

⌨️ 快捷键说明

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