FileDocCategorySizeDatePackage
StdMethodList.javaAPI DocAndroid 5.1 API1473Thu Mar 12 22:18:30 GMT 2015com.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 {@code 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 {@code >= 0, < size();} which method
param
method {@code null-ok;} the method object

        set0(n, method);