Hi Todd,
sorry, a last question on this subject :-) :

> Yep - just check (node instanceof List<?>).

suppose I'd have a big Tree, where data is loaded on-demand (the user
clicks on a tree node).
In this case, probably for any node of the current level i know the
type (leaf or not), but without clicking it (or better, expanding it)
forcing a data load, I'll have its children elements null.

The suggested approach, could work also in this case ?


Thanks,
Sandro

Reply via email to