public class BreakpointCollection extends ArrayList
modCount| Constructor and Description |
|---|
BreakpointCollection() |
| Modifier and Type | Method and Description |
|---|---|
int |
addBreakpoint(BreakpointInfo breakpointInfo)
Adds new breakpoint (if none exists on the same line), keeping list
sorted by line numbers of the breakpoints.
|
boolean |
isThereBreakpoint(int lineNumber)
Checks if breakpoint at specified line number already exists.
|
void |
removeBreakpoint(int lineNumber)
Removes breakpoint on specified line number, if such exists.
|
void |
removeBreakpointsInRange(int from,
int to)
Removes breakpoints in specified range of lines.
|
void |
updateBreakpoints(int from,
int amount)
Updates breakpoints from specified line for specified amount.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic int addBreakpoint(BreakpointInfo breakpointInfo)
breakpointInfo - Breakpoint to be insertedpublic void removeBreakpoint(int lineNumber)
lineNumber - Line number of the breakpoint to be removed.public void removeBreakpointsInRange(int from,
int to)
from - Range startto - Range endpublic void updateBreakpoints(int from,
int amount)
from - Range startpublic boolean isThereBreakpoint(int lineNumber)
lineNumber - Line number for which breakpoint is looked forCopyright © 2022 WSO2. All rights reserved.