How do you get custom ordering in a Scala TreeMap? Well this puzzled me for a while. The answer lies in the world of implicits and receiver type converters. In a nut shell, a scala.collection.immutable.TreeMap is a SortedMap. If you look at the documentation for TreeMap, you will see it takes an Ordering[T] as an […]
Hey all! Thanks for visiting.
I provide fringe benefits to interested readers: checkout
Please make enquiries by email
call +44 (0)7397 067 658
Due to the
plan for the UK government, I am enforcing stricter measures on contracts.
All potential public sector GOV.UK contracts engagements must be approved by QDOS
and/or SJD Accounting.
Please enquire for further information.