Package-level declarations

Functions

Link copied to clipboard
fun URL.asFile(): File

Constructs a File object directly using URL.file

Link copied to clipboard
fun <T : Any> KClass<T>.getResource(resource: String): URL?

Instead of a more verbose style to access JVM style resources:

Link copied to clipboard
Link copied to clipboard
fun <K, V> Map<K, V>.matches(key: K, value: V): Boolean

A function that checks if both key and value exists which is just a shorthand for

Link copied to clipboard
fun <K, V> MutableMap<K, V?>.nullifyIfPresent(key: K)

Nullifies the value of key on a MutableMap with the value having a nullable type V if key is present.

Link copied to clipboard

Converts this as a long time stamp to the default format as a string held in Shared.defaultDateFormat