Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`ObjectUtil()`

Method Summary
`static int` | `compareNoNulls(Comparable reference1, Comparable reference2)`
`static int` | `compareWithNulls(Comparable reference1, Comparable reference2)`
`static
`<Type> boolean`
` | `isEqualNoNulls(Type reference1, Type reference2)`
`static
`<Type> boolean`
` | `isEqualWithNulls(Type reference1, Type reference2)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ObjectUtil

    public ObjectUtil()

Method Detail

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.