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

        set0(n, field);