Method put(K key, V value)
Return type:
java.lang.Object
<V>
Member of:
java.util.Map
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
resp.put("symbol", _symbol);
2
resp.put("quote", new Float(_quote));
3
a.put("xml:lang", new Attribute("lang", getNamespaceURI("xml"),
4
daoManagerReverseLookup.put(dao, this);
5
map.put (name, d == null ? "null" :
6
s.put(a, vals);
7
public void put(String name, Object value) { props.put(save(name), value); }
8
public Object put(Object k, Object v) { return local.put(k, v); }
9
dest.put(folderName, srcRec);
10
result.put(key, resultSet);
11
messageNumbers.put(me, existingMap);
12
measurements.put(name, measurement);
13
daoClassMap.put(name, daoClass);
14
map.put (name, value != null ? "'"+value+"'" : "null");
15
return mMap.put((key == null) ? NULL : key, value);
16
mySchemas.put(aSchema.getNamespace(), aSchema);
17
classMap.put(mapping.getMappedClass(), mapping);
18
headers.put(name.toUpperCase(), value);
19
_scPool.put(id, ds);
20
this.tracks.put(trackName, new Track(trackName));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.