public void traverse ( Object root ) { // Reset the state visited . clear ( ) ; toVisit . clear ( ) ; if ( root == null ) return ; addIfNotVisited ( root , root . getClass ( ) ) ; start ( ) ; }
Conducts a breath first search of the object graph .