|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.pmd.util.model.LineRange
public class LineRange
A line range in a source file is defined by its first and last line.
| Constructor Summary | |
|---|---|
LineRange(int line)
Creates a new instance of LineRange. |
|
LineRange(int start,
int end)
Creates a new instance of LineRange. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getEnd()
Returns the last line of this range. |
int |
getStart()
Returns the first line of this range. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineRange(int line)
LineRange. This range
represents a single line.
line - the first and last line of the range
public LineRange(int start,
int end)
LineRange.
start - start of the rangeend - end of the range| Method Detail |
|---|
public int getStart()
public int getEnd()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||