getLongValue

open fun getLongValue(map: Map<String, String>, key: String, defaultValue: Long): Long

Get the value of the specified key from the given map as a long primitive value.

Return

the long value.

Parameters

map

reference to the map.

key

the unique name of the value to be read.

defaultValue

the value that should be returned if the value cannot be read.