Package hydra.ast

Class IndentStyle.AllLines

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<IndentStyle>
    Enclosing class:
    IndentStyle

    public static final class IndentStyle.AllLines
    extends IndentStyle
    implements java.io.Serializable
    Indent all lines with the given string
    See Also:
    Serialized Form
    • Field Detail

      • value

        public final java.lang.String value
    • Constructor Detail

      • AllLines

        public AllLines​(java.lang.String value)
        Constructs an immutable IndentStyle.AllLines.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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

        public int compareTo​(IndentStyle other)
        Specified by:
        compareTo in interface java.lang.Comparable<IndentStyle>