/** * Populate and return a map for fast resolution of XSD URIs. */ private Map<String, BigdataURIImpl> getXSDMap() { final Map<String, BigdataURIImpl> map = new LinkedHashMap<String, BigdataURIImpl>(); final BigdataURIImpl[] a = new BigdataURIImpl[] { xsd_string, xsd_dateTime, xsd_date, xsd_long, xsd_int, xsd_byte, xsd_short, xsd_double, xsd_float, xsd_boolean }; for (BigdataURIImpl x : a) { // stringValue of URI => URI map.put(x.stringValue(), x); } return map; }
/** * Populate and return a map for fast resolution of XSD URIs. */ private Map<String, BigdataURIImpl> getXSDMap() { final Map<String, BigdataURIImpl> map = new LinkedHashMap<String, BigdataURIImpl>(); final BigdataURIImpl[] a = new BigdataURIImpl[] { xsd_string, xsd_dateTime, xsd_date, xsd_long, xsd_int, xsd_byte, xsd_short, xsd_double, xsd_float, xsd_boolean }; for (BigdataURIImpl x : a) { // stringValue of URI => URI map.put(x.stringValue(), x); } return map; }