Top Description Methods
sun.jvm.hotspot.debugger.cdbg

public Interface EnumType

extends IntType
Known Direct Implementers
sun.jvm.hotspot.debugger.cdbg.basic.BasicEnumType

Describes enumerated types. Enumerations are like ints except that they have a set of named values.

Method Summary

Modifier and TypeMethod and Description
public String
enumNameForValue(long val)

Return name for given enum value, or null if not found

public String
getEnumName(int i)

Fetch ith (0..getNumEnumerants() - 1) name

public long
getEnumValue(int i)

Fetch ith (0..getNumEnumerants() - 1) value

public int
getNumEnumerates()

Number of enumerates defined in this enum

Inherited from sun.jvm.hotspot.debugger.cdbg.IntType:
getIntSizeisUnsigned

Method Detail

enumNameForValueback to summary
public String enumNameForValue(long val)

Return name for given enum value, or null if not found

getEnumNameback to summary
public String getEnumName(int i)

Fetch ith (0..getNumEnumerants() - 1) name

getEnumValueback to summary
public long getEnumValue(int i)

Fetch ith (0..getNumEnumerants() - 1) value

getNumEnumeratesback to summary
public int getNumEnumerates()

Number of enumerates defined in this enum