collect

fun collect(strings: Array<String>)
fun collect(strings: Collection<String>)

Parameters

strings

tabulates frequencies for the unique strings in the array


fun collect(string: String)

Tabulates the count of the number of unique strings presented.

Parameters

string

the presented string


fun collect(thing: Any)

Converts the thing via toString() and tabulates the observed string.