| java.lang.Object com.jamonapi.utils.Misc
Method Summary | |
public static String | getClassName(Object object) | public static void | isObjectString(Object arg) | public static Object[][] | sort(Object[][] array, int sortCol, String sortOrder) Sort a 2 dimensional array based on 1 columns data in either ascending or descending order.
array - Array to be sorted
sortCol - column to sort by
sortOrder - sort the column in ascending or descending order. |
getClassName | public static String getClassName(Object object)(Code) | | Returns an Objects ClassName minus the package name
Sample Call:
String className=Misc.getClassName("My Object"); // returns "String"
|
isObjectString | public static void isObjectString(Object arg)(Code) | | |
sort | public static Object[][] sort(Object[][] array, int sortCol, String sortOrder)(Code) | | Sort a 2 dimensional array based on 1 columns data in either ascending or descending order.
array - Array to be sorted
sortCol - column to sort by
sortOrder - sort the column in ascending or descending order. Valid arguments are "asc" and "desc".
|
|
|