org.glite.data.common.helpers
Class Precondition

java.lang.Object
  extended byorg.glite.data.common.helpers.Precondition

public class Precondition
extends java.lang.Object

Static precondition checks.


Constructor Summary
Precondition()
           
 
Method Summary
static boolean notNullOrEmpty(java.lang.Object o)
          Check for null values and empty arrays / collections
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Precondition

public Precondition()
Method Detail

notNullOrEmpty

public static boolean notNullOrEmpty(java.lang.Object o)
Check for null values and empty arrays / collections

Returns:
true if not empty and not null