Adds a name/value pair to the map.
Previous value associated with specified key, or null
if there was no mapping for the given key. A null return can also indicate that the NamedValueMap
previously associated null
with the specified key. If the previous value was a string[], this method returns the first element of the string[].
Adds multiple name/value pairs to the map, where the value is a String[], replacing any existing values. Used when adding multi-value properties to the portal in Profile and Crawl. For example, if calling put("key1", {"value1", "value2", "value3"});
the following would be returned to the portal as the named value pairs:
key1 value1
key1 value2
key1 value3
This method is only supported for UserPropertyInfo
in Profile.
NamedValueMap Class | Plumtree.Remote.Util Namespace | NamedValueMap.Put Overload List