StructuralMetadata.EnumValue

Inheritance: java.lang.Object

public static class StructuralMetadata.EnumValue

The value definition of enum type.

Constructors

ConstructorDescription
EnumValue(String name, int value)Construct a enum value.

Methods

MethodDescription
equals(Object arg0)
getClass()
getName()The name of the enum type value
getValue()The value of the enum type value
hashCode()
notify()
notifyAll()
toString()Gets the string representation of this instance.
wait()
wait(long arg0)
wait(long arg0, int arg1)

EnumValue(String name, int value)

public EnumValue(String name, int value)

Construct a enum value.

Parameters:

ParameterTypeDescription
namejava.lang.StringName of the value
valueintValue

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName()

public String getName()

The name of the enum type value

Returns: java.lang.String - The name of the enum type value

getValue()

public int getValue()

The value of the enum type value

Returns: int - The value of the enum type value

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Gets the string representation of this instance.

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int