All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.imsweb.algorithms.internal.StateData Maven / Gradle / Ivy

Go to download

Java implementation of cancer-related algorithms (NHIA, NAPIIA, Survival Time, etc...)

The newest version!
/*
 * Copyright (C) 2018 Information Management Services, Inc.
 */
package com.imsweb.algorithms.internal;

import java.util.HashMap;
import java.util.Map;

/**
 * State-related data.
 */
public class StateData {

    // counties, map by county code
    private Map _countyData = new HashMap<>();

    /**
     * Returns the county data for a given county, null if not found.
     */
    public CountyData getCountyData(String county) {
        return _countyData.get(county);
    }

    /**
     * Returns all the data; package private so it's only used during initialization.
     */
    Map getData() {
        return _countyData;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy