Interface Zones<Z extends Zone>

    • Method Detail

      • getNumberOfCentroids

        default int getNumberOfCentroids()
        Each zone has exactly one centroid, so this is functionally equivalent to calling MapWrapper.size()
        Returns:
        number of centroids
      • getByXmlId

        default Z getByXmlId​(String xmlId)
        Find the first entry with matching XML id, not efficient as not indexed by XML id, so use carefully
        Parameters:
        xmlId - to find
        Returns:
        zone found, null if not present