Package com.yahoo.slime
Interface ObjectTraverser
public interface ObjectTraverser
Callback interface for traversing objects.
Implement this and call Inspector.traverse()
and you will get one callback for each field in an object.
-
Method Summary
-
Method Details
-
field
Callback function to implement.- Parameters:
name
- symbol name for the current field.inspector
- accessor for the current field's value.
-