public interface FieldList
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean isMutable()
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.true iff this instance is somehow mutableint size()
Field get(int n)
nth field.n - n >= 0, n < size(); which fieldnon-null; the field in questionCopyright © 2020. All Rights Reserved.