You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by br...@rogers.com on 2008/01/24 23:45:26 UTC
[collections] Any ObjectGraphIterator examples that return more than just leaf nodes
I've been taking a look at the ObjectGraphIterator and the example of a Transformer that can continue through the iterators (Forest, Tree, Branch, Leaf) and return the Leaf nodes. Is it possible to have a Transformer that would return a Branch node if no Leaf node existed?
Thanks In Advance,
Brendan