Package com.goterl.lazysodium.interfaces
Enum Stream.Method
- java.lang.Object
-
- java.lang.Enum<Stream.Method>
-
- com.goterl.lazysodium.interfaces.Stream.Method
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Stream.Method>
- Enclosing interface:
- Stream
public static enum Stream.Method extends java.lang.Enum<Stream.Method>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHACHA20CHACHA20_IETFSALSA20XSALSA20
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stream.MethodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Stream.Method[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHACHA20
public static final Stream.Method CHACHA20
-
CHACHA20_IETF
public static final Stream.Method CHACHA20_IETF
-
SALSA20
public static final Stream.Method SALSA20
-
XSALSA20
public static final Stream.Method XSALSA20
-
-
Method Detail
-
values
public static Stream.Method[] 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 (Stream.Method c : Stream.Method.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Stream.Method 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
-
-