| java.lang.Object edu.iu.uis.eden.util.Utilities
Utilities | public class Utilities (Code) | | Various static utility methods.
author: bmcgough author: rkirkend author: ewestfal author: ahamid |
Inner Class :public class PrioritySorter implements Comparator | |
Inner Class :public class RouteLogActionRequestSorter implements Comparator | |
checkDateRanges | public static boolean checkDateRanges(String fromDate, String toDate)(Code) | | |
collectionsEquivalent | public static boolean collectionsEquivalent(Collection a, Collection b)(Code) | | Performs a "brute force" comparison of collections by testing whether the collections contain each other.
This circuments any particular uniqueness or ordering constraints on the collections
(for instance, lists that are unordered but contain the same elements, where a hashset would not suffice
for comparison purposes because it enforces element uniqueness)
|
getBooleanConstant | public static boolean getBooleanConstant(String name, boolean defaultValue)(Code) | | |
substituteConfigParameters | public static String substituteConfigParameters(String string)(Code) | | Performs variable substitution on the specified string, replacing variables specified like ${name}
with the value of the corresponding config parameter obtained from the current context Config object
Parameters: string - the string on which to perform variable substitution a string with any variables substituted with configuration parameter values |
validateDate | public static boolean validateDate(String date, boolean dateOptional)(Code) | | |
|
|