|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjoeq.Class.jq_LineNumberBC
public class jq_LineNumberBC
This class matches bytecode indices to line numbers. It implements the Comparable interface; objects are compared based on their starting bytecode indices.
| Constructor Summary | |
|---|---|
jq_LineNumberBC(char startPC,
char lineNum)
Constructs a new jq_LineNumberBC object with the given starting bytecode index and line number. |
|
| Method Summary | |
|---|---|
int |
compareTo(jq_LineNumberBC that)
Compares this jq_LineNumberBC object to the given jq_LineNumberBC object. |
int |
compareTo(Object that)
|
boolean |
equals(jq_LineNumberBC that)
Compares this jq_LineNumberBC object to the given jq_LineNumberBC object. |
boolean |
equals(Object that)
|
char |
getLineNum()
Returns the line number. |
char |
getStartPC()
Returns the start bytecode index. |
int |
hashCode()
|
String |
toString()
Returns a string representation of this jq_LineNumberBC object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public jq_LineNumberBC(char startPC,
char lineNum)
startPC - starting bytecode index, inclusivelineNum - corresponding line number| Method Detail |
|---|
public char getStartPC()
public char getLineNum()
public int compareTo(jq_LineNumberBC that)
that - object to compare against
public int compareTo(Object that)
compareTo in interface Comparablepublic boolean equals(jq_LineNumberBC that)
that - object to compare against
public boolean equals(Object that)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||