ByteBlockListpublic final class ByteBlockList extends com.android.dx.util.LabeledList List of {@link ByteBlock} instances. |
Constructors Summary |
---|
public ByteBlockList(int size)Constructs an instance.
super(size);
|
Methods Summary |
---|
public ByteBlock | get(int n)Gets the indicated element. It is an error to call this with the
index for an element which was never set; if you do that, this
will throw NullPointerException .
return (ByteBlock) get0(n);
| public ByteBlock | labelToBlock(int label)Gets the block with the given label.
int idx = indexOfLabel(label);
if (idx < 0) {
throw new IllegalArgumentException("no such label: "
+ Hex.u2(label));
}
return get(idx);
| public void | set(int n, ByteBlock bb)Sets the element at the given index.
super.set(n, bb);
|
|