< prev index next >

src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/util/QNameMap.java

Print this page

        

*** 133,148 **** put(name.nsUri,name.localName,value); } /** * Returns the value to which the specified keys are mapped in this QNameMap, ! * or <tt>null</tt> if the map contains no mapping for this key. * * @param nsUri the namespaceUri key whose associated value is to be returned. * @param localPart the localPart key whose associated value is to be returned. * @return the value to which this map maps the specified set of keya, or ! * <tt>null</tt> if the map contains no mapping for this set of keys. * @see #put(String,String, Object) */ public V get( String nsUri, String localPart ) { Entry<V> e = getEntry(nsUri,localPart); if(e==null) return null; --- 133,148 ---- put(name.nsUri,name.localName,value); } /** * Returns the value to which the specified keys are mapped in this QNameMap, ! * or {@code null} if the map contains no mapping for this key. * * @param nsUri the namespaceUri key whose associated value is to be returned. * @param localPart the localPart key whose associated value is to be returned. * @return the value to which this map maps the specified set of keya, or ! * {@code null} if the map contains no mapping for this set of keys. * @see #put(String,String, Object) */ public V get( String nsUri, String localPart ) { Entry<V> e = getEntry(nsUri,localPart); if(e==null) return null;
< prev index next >