xades4j.utils
Class ObjectUtils

java.lang.Object
  extended by xades4j.utils.ObjectUtils

public class ObjectUtils
extends Object

Utility methods for objects.

Author:
Luís

Constructor Summary
ObjectUtils()
           
 
Method Summary
static boolean allNull(Object... objs)
          Indicates whether all the objects are null.
static boolean anyNull(Object... objs)
          Indicates whether any of the objects are null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectUtils

public ObjectUtils()
Method Detail

allNull

public static boolean allNull(Object... objs)
Indicates whether all the objects are null.

Parameters:
objs - the set of objects to be checked
Returns:
true if all the objects are null

anyNull

public static boolean anyNull(Object... objs)
Indicates whether any of the objects are null.

Parameters:
objs - the set of objects to be checked
Returns:
true if at least one object is null


Copyright © 2012. All Rights Reserved.