Kotlin类型系统
2017-06-12 01:35:10 0 举报
Kotlin类型系统
作者其他创作
大纲/内容
Char
LongArray
Float
override val length: Int
Comparable
+ operator fun compareTo(other: T): Int
Any
open operator fun equals(other: Any?): Booleanopen fun hashCode(): Intopen fun toString(): String
CharArray
BooleanArray
Double
Number
toDouble(): DoubletoFloat(): FloattoLong(): LongtoInt(): InttoChar(): ChartoShort(): ShorttoByte(): Byte
FloatArray
IntArray
ShortArray
Array
val size: Int
Short
Int
Boolean
operator fun not(): Booleaninfix fun and(other: Boolean): Booleaninfix fun or(other: Boolean): Booleaninfix fun xor(other: Boolean): Booleanoverride fun compareTo(other: Boolean): Int
Byte
Long
CharSequence
val length: Int
ByteArray
0 条评论
回复 删除
下一页