public static final class SourceContextLoader.Line
extends java.lang.Object
| Constructor and Description |
|---|
Line(int lineNumber,
java.lang.CharSequence content) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.CharSequence |
getContent()
Returns the content as a CharSequence.
|
int |
getLineNumber()
Get the line number of the line, starting at 1.
|
int |
hashCode() |
java.lang.String |
toString() |
public int getLineNumber()
public java.lang.CharSequence getContent()
CharSequence is used here to allow implementations to potentially use things like CharBuffer slices.
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object