fromType

fun fromType(type: Int): Collection?

Returns a Collection given its integer representation, or null if the type is invalid.