|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cornell.cs.sam.ui.SamGUI.BreakpointList
public static class SamGUI.BreakpointList
Stores breakpoints and provides convenience functions We currently use a hashtable for fast access with key=PC of break and value=Boolean(true)
Field Summary | |
---|---|
protected java.util.HashMap<java.lang.Integer,java.lang.Boolean> |
breakpoints
Stores the breakpoints |
Constructor Summary | |
---|---|
SamGUI.BreakpointList()
|
Method Summary | |
---|---|
void |
addBreakpoint(int pc)
Adds a PC to the list of breakpoints |
void |
addBreakpoints(SamGUI.BreakpointList l)
Adds a list of breakpoints |
boolean |
checkBreakpoint(int pc)
Checks if the PC provided is a breakpoint |
void |
deleteAll()
Clears all of the breakpoints |
void |
deleteBreakpoint(int pc)
Deletes the pc from the list of breakpoints |
void |
deleteBreakpoints(SamGUI.BreakpointList l)
Deletes a list of breakpoints |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.HashMap<java.lang.Integer,java.lang.Boolean> breakpoints
Constructor Detail |
---|
public SamGUI.BreakpointList()
Method Detail |
---|
public void addBreakpoint(int pc)
pc
- The PC at which to breakpublic void addBreakpoints(SamGUI.BreakpointList l)
l
- the list of breakpoints to addpublic boolean checkBreakpoint(int pc)
pc
- The PC to check
public void deleteBreakpoint(int pc)
pc
- The PC to deletepublic void deleteBreakpoints(SamGUI.BreakpointList l)
l
- The list of brakpoints to deletepublic void deleteAll()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |