//leakcanary-repo/shark/PrimitiveType
PrimitiveType¶
[jvm]\ enum PrimitiveType : Enum<PrimitiveType>
A primitive type in the prof.
Entries¶
BOOLEAN | [jvm] BOOLEAN |
CHAR | [jvm] CHAR |
FLOAT | [jvm] FLOAT |
DOUBLE | [jvm] DOUBLE |
BYTE | [jvm] BYTE |
SHORT | [jvm] SHORT |
INT | [jvm] INT |
LONG | [jvm] LONG |
Types¶
Name | Summary |
---|---|
Companion | [jvm] object Companion |
Functions¶
Name | Summary |
---|---|
valueOf | [jvm] fun valueOf(value: String): PrimitiveType Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
values | [jvm] fun values(): Array<PrimitiveType> Returns an array containing the constants of this enum type, in the order they’re declared. |
Properties¶
Name | Summary |
---|---|
byteSize | [jvm] val byteSize: Int The size in bytes for each value of that type. |
hprofType | [jvm] val hprofType: Int The hprof defined "basic type". |
name | [jvm] val name: String |
ordinal | [jvm] val ordinal: Int |