Class InstructionCollection
- All Implemented Interfaces:
IFreezable, Iterable<Instruction>, Collection<Instruction>, List<Instruction>, SequencedCollection<Instruction>
-
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterAdd(int index, Instruction item, boolean appended) protected voidafterRemove(int index, Instruction item) atOffset(int offset) protected voidprotected voidbeforeSet(int index, Instruction item) voidtryGetAtOffset(int offset) Methods inherited from class Collection
add, add, addCore, canFreeze, clear, freeze, freeze, freezeCore, freezeIfUnfrozen, get, isFrozen, remove, remove, set, size, tryFreeze, verifyFrozen, verifyNotFrozenMethods inherited from class AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Constructor Details
-
InstructionCollection
public InstructionCollection()
-
-
Method Details
-
atOffset
-
tryGetAtOffset
-
afterAdd
- Overrides:
afterAddin classCollection<Instruction>
-
beforeSet
- Overrides:
beforeSetin classCollection<Instruction>
-
afterRemove
- Overrides:
afterRemovein classCollection<Instruction>
-
beforeClear
protected void beforeClear()- Overrides:
beforeClearin classCollection<Instruction>
-
recomputeOffsets
public void recomputeOffsets()
-