Class ScenarioSimulationSharedUtils


  • public class ScenarioSimulationSharedUtils
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String FILE_EXTENSION  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isCollection​(java.lang.String className)
      Returns true if given string equals to canonical name of Collection or isList
      static boolean isCollectionOrMap​(java.lang.String className)
      Returns true if given string isCollection or isMap
      static boolean isEnumCanonicalName​(java.lang.String className)
      Returns true if given string equals to canonical name of java.lang.Enum
      static boolean isList​(java.lang.String className)
      Returns true if given string equals to canonical name of List, ArrayList or LinkedList
      static boolean isMap​(java.lang.String className)
      Returns true if given string equals to canonical name of Map or HashMap
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isCollectionOrMap

        public static boolean isCollectionOrMap​(java.lang.String className)
        Returns true if given string isCollection or isMap
        Parameters:
        className -
        Returns:
      • isCollection

        public static boolean isCollection​(java.lang.String className)
        Returns true if given string equals to canonical name of Collection or isList
        Parameters:
        className -
        Returns:
      • isList

        public static boolean isList​(java.lang.String className)
        Returns true if given string equals to canonical name of List, ArrayList or LinkedList
        Parameters:
        className -
        Returns:
      • isMap

        public static boolean isMap​(java.lang.String className)
        Returns true if given string equals to canonical name of Map or HashMap
        Parameters:
        className -
        Returns:
      • isEnumCanonicalName

        public static boolean isEnumCanonicalName​(java.lang.String className)
        Returns true if given string equals to canonical name of java.lang.Enum
        Parameters:
        className -
        Returns: