org.modeshape.common.util
Class ObjectUtil
java.lang.Object
org.modeshape.common.util.ObjectUtil
public class ObjectUtil
- extends Object
Common utility methods for general objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectUtil
public ObjectUtil()
isEqualNoNulls
public static <Type> boolean isEqualNoNulls(Type reference1,
Type reference2)
isEqualWithNulls
public static <Type> boolean isEqualWithNulls(Type reference1,
Type reference2)
compareNoNulls
public static int compareNoNulls(Comparable reference1,
Comparable reference2)
compareWithNulls
public static int compareWithNulls(Comparable reference1,
Comparable reference2)
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.