I am trying to iterate through a recursive object but Java has no support for this from what I know.
For example, given the object Item:
Item
pub
Something similar to this?
void read(Item item) { if (item == null) { //do something with the uuid ? return; } else { for (Item i : item.children) { read(i); } } }