Enum Tone

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.Enum, Serializable, Comparable<Tone>

    public enum Tone
    extends Enum<Tone>
    implements com.github.davidmoten.odata.client.Enum
    • Enum Constant Detail

      • TONE0

        public static final Tone TONE0
      • TONE1

        public static final Tone TONE1
      • TONE2

        public static final Tone TONE2
      • TONE3

        public static final Tone TONE3
      • TONE4

        public static final Tone TONE4
      • TONE5

        public static final Tone TONE5
      • TONE6

        public static final Tone TONE6
      • TONE7

        public static final Tone TONE7
      • TONE8

        public static final Tone TONE8
      • TONE9

        public static final Tone TONE9
      • STAR

        public static final Tone STAR
      • POUND

        public static final Tone POUND
      • A

        public static final Tone A
      • B

        public static final Tone B
      • C

        public static final Tone C
      • D

        public static final Tone D
      • FLASH

        public static final Tone FLASH
    • Method Detail

      • values

        public static Tone[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Tone c : Tone.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Tone valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • enumName

        public String enumName()
        Specified by:
        enumName in interface com.github.davidmoten.odata.client.Enum
      • enumValue

        public String enumValue()
        Specified by:
        enumValue in interface com.github.davidmoten.odata.client.Enum