Class RegionMapSingleton

Object
RegionMapSingleton

public class RegionMapSingleton extends Object
A singleton class providing a default RegionMap.

This class creates and manages a single instance of RegionMap with predefined region memberships based on global region identifiers.

  • Method Details

    • instance

      public static RegionMap instance()
      Gets the singleton instance of RegionMap.

      If the instance doesn't exist, it creates one with predefined region memberships. This method is thread-safe.

      Returns:
      the singleton instance of RegionMap