public abstract class CodeLine
extends java.lang.Object
The line is not aware of indentation.
Constructor and Description |
---|
CodeLine() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
content()
Obtains the value of the line.
|
static CodeLine |
emptyLine()
Obtains an empty code line.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
static CodeLine |
of(java.lang.String content)
Obtains a code line with the specified content.
|
java.lang.String |
toString() |
public abstract java.lang.String content()
public static CodeLine of(java.lang.String content)
public static CodeLine emptyLine()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object