onVisit abstract method

void onVisit(
  1. E node
)

Called when a node is visited.

Implementation

void onVisit(E node);