https://kotlinlang.org logo
#announcements
Title
# announcements
s

simonorono

07/18/2016, 2:19 AM
I need to perform calculations before calling the primary constructor. I know it's possible to put those calcs in the calling but it will lead to highly repeated code.
constructor(size: Int) : this(really_long * 4, IntArray(really_long))