- All Superinterfaces:
QtAbstractEnumerator
- All Known Subinterfaces:
QtByteFlagEnumerator
- All Known Implementing Classes:
QCborSimpleType,QCborStreamReader.Type,QDtlsError,QKeyFrame.InterpolationType,QMetaType.GenericByteEnumerator,QNetworkAddressEntry.DnsEligibilityStatus
The QtEnumerator interface servers as a base for all 8 Bit enum classes.
Its sole purpose is to unify the access to the
byte
value of enumerators and flags using the value() method.-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends QtByteEnumerator>
Comparator<E>Creates a comparator for enumeration valuesdefault bytevalue()This function should return a byte value for the enum values of the enumeration that implements this interface.Methods inherited from interface io.qt.QtAbstractEnumerator
getDeclaringClass, name, ordinal
-
Method Details
-
value
default byte value()This function should return a byte value for the enum values of the enumeration that implements this interface. -
comparator
Creates a comparator for enumeration values- Type Parameters:
E-- Returns:
- comparator
-