com.android.dx.cf.iface
Interface FieldList

All Known Implementing Classes:
StdFieldList

public interface FieldList

Interface for lists of fields.


Method Summary
 Field get(int n)
          Get the nth field.
 boolean isMutable()
          Get whether this instance is mutable.
 int size()
          Get the number of fields in the list.
 

Method Detail

isMutable

boolean isMutable()
Get whether this instance is mutable. Note that the FieldList interface itself doesn't provide any means of mutation, but that doesn't mean that there isn't a non-interface way of mutating an instance.

Returns:
true iff this instance is somehow mutable

size

int size()
Get the number of fields in the list.

Returns:
the size

get

Field get(int n)
Get the nth field.

Parameters:
n - n >= 0, n < size(); which field
Returns:
non-null; the field in question


Copyright © 2015. All rights reserved.