Package zmq.io.mechanism.curve
Enum Curve.Size
- java.lang.Object
-
- java.lang.Enum<Curve.Size>
-
- zmq.io.mechanism.curve.Curve.Size
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Curve.Size>
- Enclosing class:
- Curve
static enum Curve.Size extends java.lang.Enum<Curve.Size>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Size()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract int
bytes()
static Curve.Size
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Curve.Size[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONCE
public static final Curve.Size NONCE
-
ZERO
public static final Curve.Size ZERO
-
BOXZERO
public static final Curve.Size BOXZERO
-
PUBLICKEY
public static final Curve.Size PUBLICKEY
-
SECRETKEY
public static final Curve.Size SECRETKEY
-
KEY
public static final Curve.Size KEY
-
BEFORENM
public static final Curve.Size BEFORENM
-
-
Method Detail
-
values
public static Curve.Size[] 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 (Curve.Size c : Curve.Size.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Curve.Size 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
-
bytes
public abstract int bytes()
-
-