public class MsgInterval
extends java.lang.Object
Constructor and Description |
---|
MsgInterval(int beginLine,
int beginColumn,
int endLine,
int endColumn,
IByteCounter byteCounter)
Creates a new MsgInterval instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getBeginByte() |
int |
getBeginColumn()
Gets the column at which the message begins
|
int |
getBeginLine()
Gets the line at which the message begins
|
int |
getEndByte() |
int |
getEndColumn()
Gets the column at which the message ends
|
int |
getEndLine()
Gets the line at which the message ends
|
int |
hashCode() |
java.lang.String |
toString() |
public MsgInterval(int beginLine, int beginColumn, int endLine, int endColumn, IByteCounter byteCounter)
beginLine
- the line at which the message beginsbeginColumn
- the column at which the message beginsendLine
- the line at which the message endsendColumn
- the column at which the message endsIByteCounter
- an IByteCounter to get the initial byte at which the message
begins and the final byte at which the message endspublic int getBeginByte()
public int getEndByte()
public int getBeginColumn()
public int getBeginLine()
public int getEndColumn()
public int getEndLine()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()