fr.cnes.sirius.validate.jqnum
Enum JQNUMTools.Rule

java.lang.Object
  extended by java.lang.Enum<JQNUMTools.Rule>
      extended by fr.cnes.sirius.validate.jqnum.JQNUMTools.Rule
All Implemented Interfaces:
Serializable, Comparable<JQNUMTools.Rule>
Enclosing class:
JQNUMTools

public static enum JQNUMTools.Rule
extends Enum<JQNUMTools.Rule>

List of JQNUM rules


Enum Constant Summary
EXTENDEDPRECISION
          "jqnum.rules.extendPrecision.ExtendPrecision" rule
FIXEDPRECISION
          "jqnum.rules.fixedPrecision.FixedPrecision" rule
NOCHANGE
          "jqnum.rules.noChanges NoChanges" rule
STOCHASTIC
          "jqnum.rules.stochasticArithmetic.StochasticArithmetic" rule
STRICTMATH
          "jqnum.rules.strictMath.StrictMath" rule
 
Method Summary
static JQNUMTools.Rule valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JQNUMTools.Rule[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOCHANGE

public static final JQNUMTools.Rule NOCHANGE
"jqnum.rules.noChanges NoChanges" rule


STRICTMATH

public static final JQNUMTools.Rule STRICTMATH
"jqnum.rules.strictMath.StrictMath" rule


FIXEDPRECISION

public static final JQNUMTools.Rule FIXEDPRECISION
"jqnum.rules.fixedPrecision.FixedPrecision" rule


EXTENDEDPRECISION

public static final JQNUMTools.Rule EXTENDEDPRECISION
"jqnum.rules.extendPrecision.ExtendPrecision" rule


STOCHASTIC

public static final JQNUMTools.Rule STOCHASTIC
"jqnum.rules.stochasticArithmetic.StochasticArithmetic" rule

Method Detail

values

public static JQNUMTools.Rule[] 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 (JQNUMTools.Rule c : JQNUMTools.Rule.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JQNUMTools.Rule valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2017 CNES. All Rights Reserved.