Join Slack
Powered by
You may 1) validate it's sorted in `init { }` bloc...
# announcements
m
mg6maciej
05/23/2017, 10:27 AM
You may 1) validate it's sorted in
init { }
block and throw if it's not, 2) create a factory function which sorts it before creating object of this class.
3
Views
Open in Slack
Previous
Next