static fun checkElementsNotNull(list: MutableList<*>): Unit
Throw NullPointerException if list or one of its items are null.
static fun checkElementsNotNull(map: MutableMap<*, *>): Unit
Throw NullPointerException if map or one of its keys or values are null.