|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.Vector
com.ibm.lpex.hlasm.OrderedInstructionList
This class is used to store a sorted list of all the valid instructions. The list is kept in order, so as to allow binary searches. Both an insertion and a search take log(n).
Field Summary |
---|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
OrderedInstructionList()
Constructor. |
Method Summary | |
---|---|
void | addInstruction(Instruction inst)
Adds the specified instruction. |
Instruction | findInstruction(String instructionName,
boolean caseSensitive)
Finds the specified instruction. |
Instruction | getInstruction(int index)
Returns the instruction at the specified position in the list. |
void | removeAllInstructions()
Clears the list. |
Methods inherited from class java.util.Vector |
---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
iterator, listIterator, listIterator |
Constructor Detail |
public OrderedInstructionList()
Method Detail |
public void addInstruction(Instruction inst)
public Instruction getInstruction(int index)
public Instruction findInstruction(String instructionName, boolean caseSensitive)
public void removeAllInstructions()
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |