Class Measure

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double calcValue  
      (package private) static java.text.DecimalFormat[] df  
      protected double diff  
      private java.lang.String expValue  
      private int type  
      (package private) static int TYPE_DISTANCE  
      (package private) static int TYPE_EXP_NOE  
      (package private) static int TYPE_J  
      (package private) static int TYPE_NOE  
    • Constructor Summary

      Constructors 
      Constructor Description
      Measure​(java.lang.String expValue, double calcValue, int type)  
    • Field Detail

      • expValue

        private java.lang.String expValue
      • calcValue

        private double calcValue
      • diff

        protected double diff
      • type

        private int type
      • df

        static final java.text.DecimalFormat[] df
    • Constructor Detail

      • Measure

        Measure​(java.lang.String expValue,
                double calcValue,
                int type)
    • Method Detail

      • getExpValue

        public java.lang.String getExpValue()
      • getCalcValue

        public double getCalcValue()
      • getDiff

        public double getDiff()
      • compareTo

        public int compareTo​(Measure m)
        Specified by:
        compareTo in interface java.lang.Comparable<Measure>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • round

        public java.lang.String round()
      • formatDistance

        public static java.lang.String formatDistance​(double d)
      • formatJ

        public static java.lang.String formatJ​(double d)
      • formatNOE

        public static java.lang.String formatNOE​(double d)
      • formatExpNOE

        public static java.lang.String formatExpNOE​(double d)