Set the given key to the given integer value. The number will
be stored as a String in decimal representation. Therefore, you
can retrieve the value later by calling either by getInt(),
getDouble(), or getString().
Declaration Syntax
Parameters
Exceptions
Exception | Condition |
---|---|
ArgumentException |
An element with the same key already exists
|