Class AreaNameHelper


  • public class AreaNameHelper
    extends Object
    Helper class for areas' naming
    • Constructor Detail

      • AreaNameHelper

        public AreaNameHelper()
    • Method Detail

      • getAreaByName

        public static Area getAreaByName​(String name)
        Create area by its name in R1C1 notation
        Parameters:
        name - area's name in R1C1 notation
        Returns:
        Area for specified name or null if name was incorrect
      • getAreaName

        public static String getAreaName​(Area area)
        Get area's name in R1C1 notation
        Parameters:
        area - Area
        Returns:
        area's name in R1C1 notation