IsoFile
TreeModel
this.file = file;
if (parent instanceof ContainerBox) { ContainerBox container = (ContainerBox) parent; return container.getBoxes().get(index); } return null;
if (parent != null) { if (parent instanceof ContainerBox) { ContainerBox container = (ContainerBox) parent; return container.getBoxes() == null ? 0 : container.getBoxes().size(); } } return 0;
if (parent instanceof ContainerBox) { ContainerBox container = (ContainerBox) parent; List<Box> boxes = container.getBoxes(); for (int i = 0; i < boxes.size(); i++) { if (boxes.get(i).equals(child)) { return i; } } } return 0;
return file;
return !(node instanceof ContainerBox);
throw new UnsupportedOperationException();