elect
08/26/2019, 12:57 PMval
interface field will be initialized exactly only once?Marko Mitic
08/26/2019, 1:01 PMval
interface properties act as getter methods in java, I'm not aware of any way to tell compiler it will always return the same valueelect
08/26/2019, 1:03 PMnames
exactly just once
interface Buf {
companion object {
val names: IntBuffer
}
}
Marko Mitic
08/26/2019, 1:08 PMelect
08/26/2019, 1:10 PMlaterinit var
thoughMarko Mitic
08/26/2019, 1:11 PMval
property in interface with var
property in classelect
08/26/2019, 1:12 PMMarko Mitic
08/26/2019, 1:18 PMelect
08/26/2019, 1:19 PMIntBuffer