- java.lang.Object
-
- java.lang.Enum<UnionWord>
-
- io.github.astrapi69.crypto.algorithm.UnionWord
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AND_UNION_WORD
static java.lang.String
WITH_UNION_WORD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnionWord
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UnionWord[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Field Detail
-
AND_UNION_WORD
public static final java.lang.String AND_UNION_WORD
- See Also:
- Constant Field Values
-
WITH_UNION_WORD
public static final java.lang.String WITH_UNION_WORD
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static UnionWord[] 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 (UnionWord c : UnionWord.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnionWord 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 namejava.lang.NullPointerException
- if the argument is null
-
-