| java.lang.Object org.kuali.module.gl.util.ObjectHelper
All known Subclasses: org.kuali.module.gl.util.StringHelper,
ObjectHelper | public class ObjectHelper (Code) | | This class is used to compare objects with one another
|
Method Summary | |
public static boolean | isEqual(Object lhs, Object rhs) | public static boolean | isOneOf(Object lhs, Object[] rhs) Return true if object on left side is one of the items in array of objects
Parameters: lhs - object on left side of equation Parameters: rhs - object on right side of equation false if rhs is null. |
ObjectHelper | protected ObjectHelper()(Code) | | |
isEqual | public static boolean isEqual(Object lhs, Object rhs)(Code) | | Returns true if object on left side is equal to object on right side
Parameters: lhs - object on left side of equation Parameters: rhs - object on right side of equation true if both lhs and rhs are null or if lhs.equals(rhs) |
isOneOf | public static boolean isOneOf(Object lhs, Object[] rhs)(Code) | | Return true if object on left side is one of the items in array of objects
Parameters: lhs - object on left side of equation Parameters: rhs - object on right side of equation false if rhs is null. true if isEqual(lhs, rhs[i]) for any ith element of rhs. |
|
|