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

StdFieldList

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

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

param
size the size of the list

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

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

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

        set0(n, field);