org.opengts.util
Enum CurveFit.Precision

java.lang.Object
  extended by java.lang.Enum<CurveFit.Precision>
      extended by org.opengts.util.CurveFit.Precision
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CurveFit.Precision>
Enclosing class:
CurveFit

public static enum CurveFit.Precision
extends java.lang.Enum<CurveFit.Precision>

Precision Enum


Enum Constant Summary
Digits16
           
Digits18
           
Digits20
           
Digits22
           
Digits24
           
Digits34
           
Double
           
Linear
           
Partial5
           
Partial7
           
Partial9
           
 
Method Summary
 java.math.MathContext getMathContext()
           
 int getPartialSize()
           
 boolean isBigDecimal()
           
 boolean isDouble()
           
 boolean isLinear()
           
 boolean isPartial()
           
 boolean saveXY()
           
 java.lang.String toString()
           
static CurveFit.Precision valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CurveFit.Precision[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Double

public static final CurveFit.Precision Double

Digits16

public static final CurveFit.Precision Digits16

Digits18

public static final CurveFit.Precision Digits18

Digits20

public static final CurveFit.Precision Digits20

Digits22

public static final CurveFit.Precision Digits22

Digits24

public static final CurveFit.Precision Digits24

Digits34

public static final CurveFit.Precision Digits34

Partial5

public static final CurveFit.Precision Partial5

Partial7

public static final CurveFit.Precision Partial7

Partial9

public static final CurveFit.Precision Partial9

Linear

public static final CurveFit.Precision Linear
Method Detail

values

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

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

valueOf

public static CurveFit.Precision 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 name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<CurveFit.Precision>

isDouble

public boolean isDouble()

isBigDecimal

public boolean isBigDecimal()

isPartial

public boolean isPartial()

isLinear

public boolean isLinear()

saveXY

public boolean saveXY()

getPartialSize

public int getPartialSize()

getMathContext

public java.math.MathContext getMathContext()