https://kotlinlang.org logo
y

yole

08/25/2016, 2:43 PM
you can write a setter that will implement such logic