org.ow2.bonita.util
Class Misc.NullCheckResult

java.lang.Object
  extended by org.ow2.bonita.util.Misc.NullCheckResult
Enclosing class:
Misc

public static class Misc.NullCheckResult
extends java.lang.Object

Represents null value returned by Misc.findNull(Object...).

Author:
Pierre Vigneras
See Also:
Misc.findNull(Object...)

Method Summary
 int getSize()
          Returns the number of parameters given to Misc.findNull(Object...)
 boolean hasNull()
          Returns true if some parameters given to Misc.findNull(Object...) were null.
 boolean isNull(int i)
          Returns true if the i th parameter given to Misc.findNull(Object...) was null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNull

public boolean hasNull()
Returns true if some parameters given to Misc.findNull(Object...) were null.

Returns:
true if some parameters given to Misc.findNull(Object...) were null.
See Also:
Misc.findNull(Object...)

getSize

public int getSize()
Returns the number of parameters given to Misc.findNull(Object...)

Returns:
the number of parameters given to Misc.findNull(Object...)
See Also:
Misc.findNull(Object...)

isNull

public boolean isNull(int i)
Returns true if the i th parameter given to Misc.findNull(Object...) was null.

Parameters:
i - the rank of the parameter given to Misc.findNull(Object...).
Returns:
true if the i th parameter given to Misc.findNull(Object...) was null.


Copyright © 2009 OW2 Consortium. All Rights Reserved.