Package com.yahoo.data.access
Interface ArrayTraverser
-
- All Known Implementing Classes:
JsonRender.StringEncoder
public interface ArrayTraverser
Callback interface for traversing arrays. Implement this and call Inspector.traverse() and you will get one callback for each array entry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
entry(int idx, Inspector inspector)
Callback function to implement.
-
-
-
Method Detail
-
entry
void entry(int idx, Inspector inspector)
Callback function to implement.- Parameters:
idx
- array index for the current array entry.inspector
- accessor for the current array entry's value.
-
-