Package berlin.yuna.clu.model
Enum OsArchType
- java.lang.Object
-
- java.lang.Enum<OsArchType>
-
- berlin.yuna.clu.model.OsArchType
-
- All Implemented Interfaces:
Serializable,Comparable<OsArchType>
public enum OsArchType extends Enum<OsArchType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getContains()static OsArchTypeof(String osArch)StringtoString()static OsArchTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OsArchType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AT_86
public static final OsArchType AT_86
-
AT_64
public static final OsArchType AT_64
-
AT_7
public static final OsArchType AT_7
-
AT_6
public static final OsArchType AT_6
-
AT_PPC
public static final OsArchType AT_PPC
-
AT_UNKNOWN
public static final OsArchType AT_UNKNOWN
-
-
Method Detail
-
values
public static OsArchType[] 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 (OsArchType c : OsArchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OsArchType 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 nameNullPointerException- if the argument is null
-
getContains
public String[] getContains()
-
of
public static OsArchType of(String osArch)
-
toString
public String toString()
- Overrides:
toStringin classEnum<OsArchType>
-
-