java.lang.Object
io.qt.core.QMetaType.GenericByteEnumerator
- All Implemented Interfaces:
QMetaType.GenericTypeInterface
,QtAbstractEnumerator
,QtByteEnumerator
- Enclosing class:
- QMetaType
public static final class QMetaType.GenericByteEnumerator extends Object implements QtByteEnumerator
This class represents a QMetaType-registered but Java-unknown 8 Bit enumerator.
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
Class<? extends QtByteEnumerator>
getDeclaringClass()
int
hashCode()
QMetaType
metaType()
String
name()
int
ordinal()
String
toString()
byte
value()
This function should return a byte value for the enum values of the enumeration that implements this interface.
-
Method Details
-
value
public byte value()Description copied from interface:QtByteEnumerator
This function should return a byte value for the enum values of the enumeration that implements this interface.- Specified by:
value
in interfaceQtByteEnumerator
-
getDeclaringClass
- Specified by:
getDeclaringClass
in interfaceQtAbstractEnumerator
- Specified by:
getDeclaringClass
in interfaceQtByteEnumerator
- Returns:
- the Class object corresponding to this enum constant's enum type
- See Also:
Enum.getDeclaringClass()
-
hashCode
public int hashCode() -
equals
-
metaType
- Specified by:
metaType
in interfaceQMetaType.GenericTypeInterface
-
ordinal
public final int ordinal()- Specified by:
ordinal
in interfaceQtAbstractEnumerator
- Returns:
- the ordinal of this enumeration constant
- See Also:
Enum.ordinal()
-
name
- Specified by:
name
in interfaceQtAbstractEnumerator
- Returns:
- the name of this enum constant
- See Also:
Enum.name()
-
toString
-