CivicApiAddress function ( String arg0 ) { if ( locationIds . get ( arg0 ) != null ) { PollingLocation loc0 = allLocations . get ( locationIds . get ( arg0 ) ) ; return loc0 . address ; } else { return getAdminAddress ( arg0 ) ; } }
helper function to return address object for either polling location or election admin body . concode_field_sep ArrayList<PollingLocation> allLocations concode_elem_sep ArrayList<PollingLocation> usePollingLocations concode_elem_sep Election election concode_elem_sep boolean mailOnly concode_elem_sep List<PollingLocation> dropOffLocations concode_elem_sep ArrayList<PollingLocation> openEarlyVoteSites concode_elem_sep List<Election> otherElections concode_elem_sep HashMap<String,Integer> locationIds concode_elem_sep ArrayList<PollingLocation> pollingLocations concode_elem_sep CivicApiError error concode_elem_sep String TAG concode_elem_sep int MAX_VOTING_SITES concode_elem_sep List<Contest> contests concode_elem_sep int MAX_DROP_BOX_SITES concode_elem_sep CivicApiAddress normalizedInput concode_elem_sep ArrayList<PollingLocation> openDropOffLocations concode_elem_sep List<State> state concode_elem_sep ArrayList<PollingLocation> earlyVoteSites concode_field_sep String buildQueryString concode_elem_sep String getDescriptionForId concode_elem_sep CivicApiError getError concode_elem_sep ArrayList<PollingLocation> buildOpenSitesList concode_elem_sep LatLng getAdminBodyLatLng concode_elem_sep ArrayList<PollingLocation> getOpenEarlyVoteSites concode_elem_sep ArrayList<PollingLocation> getOpenDropOffLocations concode_elem_sep boolean isSuccessful concode_elem_sep boolean isMailOnly concode_elem_sep ElectionAdministrationBody getStateAdmin concode_elem_sep void setUpLocations concode_elem_sep ArrayList<PollingLocation> getPollingLocations concode_elem_sep CivicApiAddress getAdminAddress concode_elem_sep ArrayList<String> getUniqueParties concode_elem_sep ArrayList<PollingLocation> getAllLocations concode_elem_sep ElectionAdministrationBody getLocalAdmin concode_elem_sep PollingLocation getLocationForId