public final class InstructionCollection extends Collection<Instruction>
| Constructor and Description |
|---|
InstructionCollection() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterAdd(int index,
Instruction item,
boolean appended) |
protected void |
afterRemove(int index,
Instruction item) |
Instruction |
atOffset(int offset) |
protected void |
beforeClear() |
protected void |
beforeSet(int index,
Instruction item) |
void |
recomputeOffsets() |
Instruction |
tryGetAtOffset(int offset) |
add, add, addCore, canFreeze, clear, freeze, freeze, freezeCore, freezeIfUnfrozen, get, isFrozen, remove, remove, set, size, tryFreeze, verifyFrozen, verifyNotFrozenaddAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringpublic Instruction atOffset(int offset)
public Instruction tryGetAtOffset(int offset)
protected void afterAdd(int index,
Instruction item,
boolean appended)
afterAdd in class Collection<Instruction>protected void beforeSet(int index,
Instruction item)
beforeSet in class Collection<Instruction>protected void afterRemove(int index,
Instruction item)
afterRemove in class Collection<Instruction>protected void beforeClear()
beforeClear in class Collection<Instruction>public void recomputeOffsets()