public class Breakpoint
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable
Constructor and Description |
---|
Breakpoint(java.lang.String templateName,
int line)
Creates a new breakpoint.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object o) |
int |
getLine()
Returns the line number of the breakpoint
|
java.lang.String |
getLocationString()
Returns the template name and the line number separated with a colon
|
java.lang.String |
getTemplateName()
Returns the template name of the breakpoint
|
int |
hashCode() |
public Breakpoint(java.lang.String templateName, int line)
templateName
- the name of the templateline
- the line number in the template where to put the breakpointpublic int getLine()
public java.lang.String getTemplateName()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String getLocationString()