- Type Parameters:
K
- V
-
- All Known Implementing Classes:
- PlaceKeysValuesInArrayLists
public interface TraversalTask<K,V>
When we perform a traversal of a tree, we call the
performTask method to process each key,value pair in
the tree. Classes implementing this interface, allow
us to collect keys, print values, etc.
- Author:
- cmsc132