public interface FieldAccessor extends Serializable
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByIndex(Object obj,
int idx)
Deprecated.
Returns the "field" corresponding to the order in which it is in the object (class).
|
Object getFieldByIndex(Object obj, int idx)
obj
- The object for the field to be extracted from.idx
- The index of the "field". Refer to FieldAccessorMap to get the mapping
of the names of the "fields" to the index value to use for fast lookup.Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.