126 put(name.getNamespaceURI(),name.getLocalPart(),value); |
126 put(name.getNamespaceURI(),name.getLocalPart(),value); |
127 } |
127 } |
128 |
128 |
129 /** |
129 /** |
130 * Returns the value to which the specified keys are mapped in this QNameMap, |
130 * Returns the value to which the specified keys are mapped in this QNameMap, |
131 * or <tt>null</tt> if the map contains no mapping for this key. |
131 * or {@code null} if the map contains no mapping for this key. |
132 * |
132 * |
133 * @param nsUri the namespaceUri key whose associated value is to be returned. |
133 * @param nsUri the namespaceUri key whose associated value is to be returned. |
134 * @param localPart the localPart key whose associated value is to be returned. |
134 * @param localPart the localPart key whose associated value is to be returned. |
135 * @return the value to which this map maps the specified set of keya, or |
135 * @return the value to which this map maps the specified set of keya, or |
136 * <tt>null</tt> if the map contains no mapping for this set of keys. |
136 * {@code null} if the map contains no mapping for this set of keys. |
137 * @see #put(String,String, Object) |
137 * @see #put(String,String, Object) |
138 */ |
138 */ |
139 public V get( @NotNull String nsUri, String localPart ) { |
139 public V get( @NotNull String nsUri, String localPart ) { |
140 Entry<V> e = getEntry(nsUri,localPart); |
140 Entry<V> e = getEntry(nsUri,localPart); |
141 if(e==null) return null; |
141 if(e==null) return null; |