public final class RevisionRange extends Object implements ILineRange
Revision
.Modifier and Type | Method and Description |
---|---|
int |
getNumberOfLines()
Returns the number of lines of this line range or
-1 . |
Revision |
getRevision()
Returns the revision that this range belongs to.
|
int |
getStartLine()
Returns the start line of this line range or
-1 . |
String |
toString() |
public Revision getRevision()
public int getStartLine()
ILineRange
-1
.getStartLine
in interface ILineRange
-1
if this line range is invalid.public int getNumberOfLines()
ILineRange
-1
.getNumberOfLines
in interface ILineRange
-1
if this line range is invalid.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.