Package org.networkcalculus.num
Enum NumBackend
- java.lang.Object
-
- java.lang.Enum<NumBackend>
-
- org.networkcalculus.num.NumBackend
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NumBackend>
,java.lang.constant.Constable
public enum NumBackend extends java.lang.Enum<NumBackend>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RATIONAL_BIGINTEGER
RATIONAL_INTEGER
REAL_DOUBLE_PRECISION
REAL_SINGLE_PRECISION
-
Constructor Summary
Constructors Modifier Constructor Description private
NumBackend()
-
Method Summary
Modifier and Type Method Description static NumBackend
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NumBackend[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REAL_DOUBLE_PRECISION
public static final NumBackend REAL_DOUBLE_PRECISION
-
REAL_SINGLE_PRECISION
public static final NumBackend REAL_SINGLE_PRECISION
-
RATIONAL_INTEGER
public static final NumBackend RATIONAL_INTEGER
-
RATIONAL_BIGINTEGER
public static final NumBackend RATIONAL_BIGINTEGER
-
-
Method Detail
-
values
public static NumBackend[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NumBackend 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
-
-