Enum Class TMath.Impl
- All Implemented Interfaces:
Serializable, Comparable<TMath.Impl>, Constable
- Enclosing class:
TMath
Enumerates the available implementation strategies for mathematical computations.
Each strategy represents a distinct approach to balancing precision, performance,
and adherence to mathematical standards.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic TMath.ImplReturns the enum constant of this class with the specified name.static TMath.Impl[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
MATH
Represents the default mathematical implementation strategy in the system. This option is used when no specific preference between precision and performance is required. -
STRICT
Represents the strict implementation strategy for mathematical computations. This option prioritizes precision and strict adherence to mathematical standards, potentially at the cost of computational performance. -
FAST
Represents the fast implementation strategy for mathematical computations. This option is optimized for performance and may prioritize speed over precision or strict adherence to mathematical standards.
-
-
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
-