Class Indent.Const

  • Enclosing class:
    Indent

    public static final class Indent.Const
    extends Indent
    A constant function, returning a constant indent.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int n  
      static Indent.Const ZERO  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Const​(int n)  
    • Field Detail

      • n

        private final int n
    • Constructor Detail

      • Const

        private Const​(int n)
    • Method Detail

      • make

        public static Indent.Const make​(int n,
                                        int indentMultiplier)
      • eval

        int eval()
        Specified by:
        eval in class Indent
      • toString

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