The home of utility methods that don't quite fit anywhere else.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1203 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray
2003-08-18 21:53:59 +00:00
parent b11c4084a0
commit a4fb8eba6e
@@ -0,0 +1,18 @@
//
// $Id: ObjectUtil.java,v 1.1 2003/08/18 21:53:59 ray Exp $
package com.samskivert.util;
/**
* Utility methods that don't fit anywhere else.
*/
public class ObjectUtil
{
/**
* Test two objects for equality safely.
*/
public static boolean equals (Object o1, Object o2)
{
return (o1 == null) ? (o2 == null) : o1.equals(o2);
}
}