How would I map a list of items to another function?
I am trying to figure out the best way to map. This is an example of what I have.
data class ValueDescription (val length: Int, val count: Int)
// Now I am trying to map to a variable that looks like this
val myValues = ValueDescription(length here_
, count here
I have a sorted map that I want to map to my values
// The map will look like this
// Where both Ints hold the lengths and counts
// For example I would have the length of 7 to count of 8
val out = Map
How can I take the...