get Long
fun getLong(k: String, orElse: () -> Long = {
throw NullPointerException("Key, $k, not found.")
}): Long
Content copied to clipboard
Get a Long associated with requested key.
Return
The Long associated with requested key, or the result of applying orElse if k was not found.
Parameters
k
The key.
or Else
An optional function to run if k was not found. If not present, a NullPointerException is thrown if k was not found.