Class RealRepresentation.Desc

  • Enclosing class:
    RealRepresentation

    public static class RealRepresentation.Desc
    extends java.lang.Object
    Describes the way the real number represented by RealRepresentation is displayed as a string.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private RealRepresentation.Cutter fractionCutter  
      private int lenE
      The maximal length of the exponent part of a number displayed in a specific column of the table.
      private int lenI
      The maximal length of the integer part of a number displayed in a specific column of the table.
      private int lenM
      The maximal length of the mantissa of a number displayed in a specific column of the table.
      private boolean strictExponent
      Signifies whether an attempt to cut off parts of the exponent will result in an exception; otherwise it is just ignored.
      private boolean strictInteger
      Signifies whether an attempt to cut off parts of the integer will result in an exception; otherwise it is just ignored.
    • Constructor Summary

      Constructors 
      Constructor Description
      Desc​(int lenI, int lenM, int lenE)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • strictInteger

        private final boolean strictInteger
        Signifies whether an attempt to cut off parts of the integer will result in an exception; otherwise it is just ignored.
        See Also:
        Constant Field Values
      • strictExponent

        private final boolean strictExponent
        Signifies whether an attempt to cut off parts of the exponent will result in an exception; otherwise it is just ignored.
        See Also:
        Constant Field Values
      • lenI

        private final int lenI
        The maximal length of the integer part of a number displayed in a specific column of the table.
      • lenM

        private final int lenM
        The maximal length of the mantissa of a number displayed in a specific column of the table.
        See Also:
        lenI
      • lenE

        private final int lenE
        The maximal length of the exponent part of a number displayed in a specific column of the table.
        See Also:
        lenI
    • Constructor Detail

      • Desc

        public Desc​(int lenI,
                    int lenM,
                    int lenE)