FileDocCategorySizeDatePackage
StdMethodList.javaAPI DocAndroid 1.5 API1470Wed May 06 22:41:02 BST 2009com.android.dx.cf.iface

StdMethodList

public final class StdMethodList extends com.android.dx.util.FixedSizeList implements MethodList
Standard implementation of {@link MethodList}, which directly stores an array of {@link Method} objects and can be made immutable.

Fields Summary
Constructors Summary
public StdMethodList(int size)
Constructs an instance. All indices initially contain null.

param
size the size of the list

        super(size);
    
Methods Summary
public Methodget(int n)
{@inheritDoc}

        return (Method) get0(n);
    
public voidset(int n, Method method)
Sets the method at the given index.

param
n >= 0, < size(); which method
param
method null-ok; the method object

        set0(n, method);