StructuralMetadata.EnumValue
Contents
[
Hide
]Inheritance: java.lang.Object
public static class StructuralMetadata.EnumValue
The value definition of enum type.
Constructors
| Constructor | Description |
|---|---|
| EnumValue(String name, int value) | Construct a enum value. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | Name of the value |
| value | int | Value |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.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:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |