Package hec.lang
Class FdaNumbers
java.lang.Object
hec.lang.FdaNumbers
Title: FdaNumbers - Defines missing data and allows testing for missing data.
Description: Contains the definition for undefined (bad) numbers. Allows checking
a number to see if it is bad. Converts a number to one that can be
stored in normal dBase fields. This should be replaced by the
functionality of class "hec.lang.Const". "Const" doesn't contain the
capability to convert to/from a number in a normalized dBase field.
Company:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doubleconvertToDbUndef(double n, int w, int d) static intconvertToDbUndef(int n, int w) static longconvertToDbUndef(long n, int w) static doubleconvertToFdaUndef(double n, int w, int d) static intconvertToFdaUndef(int n, int w) static longconvertToFdaUndef(long n, int w) static doublegetUndefinedTest(double d) static intgetUndefinedTest(int i) static longgetUndefinedTest(long l) static booleanisUndefined(double d) static booleanisUndefined(int i) static booleanisUndefined(long l) static voidstatic doublesetUndefined(double d) static intsetUndefined(int i) static longsetUndefined(long l)
-
Constructor Details
-
FdaNumbers
public FdaNumbers()
-
-
Method Details
-
setUndefined
public static double setUndefined(double d) -
getUndefinedTest
public static double getUndefinedTest(double d) -
setUndefined
public static int setUndefined(int i) -
getUndefinedTest
public static int getUndefinedTest(int i) -
setUndefined
public static long setUndefined(long l) -
getUndefinedTest
public static long getUndefinedTest(long l) -
isUndefined
public static boolean isUndefined(double d) -
isUndefined
public static boolean isUndefined(int i) -
isUndefined
public static boolean isUndefined(long l) -
convertToDbUndef
public static double convertToDbUndef(double n, int w, int d) -
convertToDbUndef
public static int convertToDbUndef(int n, int w) -
convertToDbUndef
public static long convertToDbUndef(long n, int w) -
convertToFdaUndef
public static double convertToFdaUndef(double n, int w, int d) -
convertToFdaUndef
public static int convertToFdaUndef(int n, int w) -
convertToFdaUndef
public static long convertToFdaUndef(long n, int w) -
mainVoid
-