guenther
11/15/2018, 12:56 PMByte
looks like this:
public class Byte private constructor() : Number(), Comparable<Byte> {
companion object {
public const val MIN_VALUE: Byte = -128
public const val MAX_VALUE: Byte = 127
...
Double
on the other hand looks like this:
public class Double private constructor() : Number(), Comparable<Double> {
companion object {
public val MIN_VALUE: Double
public val MAX_VALUE: Double
...
Is there are a particular reason, why the properties in Double
are not const
?
This prevents me to use those properties in my own constants.spand
11/15/2018, 2:30 PMcbruegg
11/15/2018, 4:28 PMspand
11/15/2018, 5:00 PMcbruegg
11/15/2018, 5:01 PMspand
11/15/2018, 5:01 PM