
com.imsweb.algorithms.internal.StateData Maven / Gradle / Ivy
/*
* 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 - 2025 Weber Informatics LLC | Privacy Policy