Enum Material2MZ

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Material2MZ>, org.kordamp.ikonli.Ikon

    public enum Material2MZ
    extends java.lang.Enum<Material2MZ>
    implements org.kordamp.ikonli.Ikon
    Author:
    Andres Almiray
    • Method Detail

      • values

        public static Material2MZ[] 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 (Material2MZ c : Material2MZ.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Material2MZ valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • findByDescription

        public static Material2MZ findByDescription​(java.lang.String description)
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in interface org.kordamp.ikonli.Ikon
      • getCode

        public int getCode()
        Specified by:
        getCode in interface org.kordamp.ikonli.Ikon