Collections.Map.put()

Signature

Object put ( Object map, Object key, Object value )

Domain

ACTION

Description

Associates the specified value with the specified key in this map.

Parameters

NameTypeDescription
mapObjectThe Map object
keyObjectkey with which the specified value is to be associated
valueObjectValue to be associated with the specified key

Returns

TypeDescription
ObjectThe previous value associated with key, or null if there was no mapping for key.

Cautions

none