Module qtjambi
Package io.qt

Interface QtByteEnumerator

All Superinterfaces:
QtAbstractEnumerator
All Known Subinterfaces:
QtByteFlagEnumerator
All Known Implementing Classes:
QCborSimpleType, QCborStreamReader.Type, QDtlsError, QKeyFrame.InterpolationType, QMetaType.GenericByteEnumerator, QNetworkAddressEntry.DnsEligibilityStatus

public interface QtByteEnumerator extends QtAbstractEnumerator
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 Details

    • value

      default byte value()
      This function should return a byte value for the enum values of the enumeration that implements this interface.
    • comparator

      static <E extends QtByteEnumerator> Comparator<E> comparator()
      Creates a comparator for enumeration values
      Type Parameters:
      E -
      Returns:
      comparator