MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / put

Method put

vm/JavaAPI/src/java/util/TreeMap.java:4408–4411  ·  view source on GitHub ↗

Maps the specified key to the specified value. @param key the key. @param value the value. @return the value of any previous mapping with the specified key or null if there was no mapping. @throws ClassCastException if the specified key cannot be co

(K key, V value)

Source from the content-addressed store, hash-verified

4406 * cannot handle {@code null} keys.
4407 */
4408 @Override
4409 public V put(K key, V value) {
4410 return putImpl(key, value);
4411 }
4412
4413 private V putImpl(K key, V value) {
4414 if (root == null) {

Callers 2

appendRegionLabelsMethod · 0.95

Calls 1

putImplMethod · 0.95

Tested by

no test coverage detected