Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.util
Class FlexUtil  view FlexUtil download FlexUtil.java

java.lang.Object
  extended bycom.flexstor.common.util.FlexUtil

public class FlexUtil
extends java.lang.Object

This class contains utility methods.


Constructor Summary
FlexUtil()
           
 
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
 

Constructor Detail

FlexUtil

public FlexUtil()
Method Detail

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