java.lang.Object
com.flexstor.common.util.FlexUtil
- public class FlexUtil
- extends java.lang.Object
This class contains utility methods.
|
Method Summary |
static boolean |
arrayContains(java.lang.Object[] objData,
java.lang.Object toFind)
arrayContains
Determines if the array passed in contains the object of the second argument |
static java.lang.String |
booleanToFlag(boolean b)
booleanToFlag - used Flag because ToString would be confusing
Converts a boolean true to Y
and a false to N |
static boolean |
isIntInArray(int nNum,
int[] naArray)
Returns true if nNum is in the int array naArray, else returns false. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlexUtil
public FlexUtil()
arrayContains
public static final boolean arrayContains(java.lang.Object[] objData,
java.lang.Object toFind)
- arrayContains
Determines if the array passed in contains the object of the second argument
isIntInArray
public static boolean isIntInArray(int nNum,
int[] naArray)
- Returns true if nNum is in the int array naArray, else returns false.
booleanToFlag
public static final java.lang.String booleanToFlag(boolean b)
- booleanToFlag - used Flag because ToString would be confusing
Converts a boolean true to Y
and a false to N