Enum Class Arma
- All Implemented Interfaces:
Serializable,Comparable<Arma>,Constable
Enumerado que representa las armas utilizadas por los Pink Guards.
Cada constante del enumerado representa un arma con su descripción correspondiente.
- Version:
- 1.0
- Author:
- Mikael
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
GLOCK17
Representa la Pistola Glock 17. -
MP5
Representa el Rifle de asalto Heckler invalid input: '&' Koch MP5. -
G3
Representa el Rifle automático Heckler invalid input: '&' Koch G3.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
-