StructuralMetadata.EnumValue

Inheritance: java.lang.Object

public static class StructuralMetadata.EnumValue

La definizione del valore del tipo enum.

Costruttori

CostruttoreDescrizione
EnumValue(String name, int value)Crea un valore enum.

Metodi

MetodoDescrizione
equals(Object arg0)
getClass()
getName()Il nome del valore del tipo enum
getValue()Il valore del valore del tipo enum
hashCode()
notify()
notifyAll()
toString()Ottiene la rappresentazione stringa di questa istanza.
wait()
wait(long arg0)
wait(long arg0, int arg1)

EnumValue(String name, int value)

public EnumValue(String name, int value)

Crea un valore enum.

Parameters:

ParametroTipoDescrizione
nomejava.lang.StringNome del valore
valoreintValore

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParametroTipoDescrizione
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName()

public String getName()

Il nome del valore del tipo enum

Returns: java.lang.String - Il nome del valore del tipo enum

getValue()

public int getValue()

Il valore del valore del tipo enum

Returns: int - Il valore del valore del tipo enum

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Ottiene la rappresentazione stringa di questa istanza.

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParametroTipoDescrizione
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParametroTipoDescrizione
arg0long
arg1int