Class Helpers
- java.lang.Object
-
- hudson.plugins.project_inheritance.util.Helpers
-
public class Helpers extends Object
-
-
Constructor Summary
Constructors Constructor Description Helpers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
bothNullOrEqual(Object a, Object b)
Checks, if the given two objects are either both null, or equal according to theirObject.equals(Object)
method.
-
-
-
Method Detail
-
bothNullOrEqual
public static boolean bothNullOrEqual(Object a, Object b)
Checks, if the given two objects are either both null, or equal according to theirObject.equals(Object)
method.- Parameters:
a
- the first objectb
- the second object- Returns:
- true only if both are null, or of a.equals(b) is true.
-
-