Package hec.lang

Class FdaNumbers

java.lang.Object
hec.lang.FdaNumbers

public class FdaNumbers extends Object
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 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

      public static void mainVoid(String[] args)