KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thaiopensource > util > Equal


1 package com.thaiopensource.util;
2
3 public class Equal {
4   private Equal() { }
5
6   static public boolean equal(Object JavaDoc obj1, Object JavaDoc obj2) {
7     return obj1 == null ? obj2 == null : obj1.equals(obj2);
8   }
9 }
10
Popular Tags