On Thursday 19 June 2003 11:43 am, Michiel Meeuwissen wrote: > I think what obviously is missing in the bridge is > > node.getRelations(relationTypeName, otherManager, searchDir); > > This can hide a lot of terrible code. > > Now, the other node is: > Node otherNode = relation.getSource() == node ? relation.getDestionation() > | relation.getSource();
I am not sure are the nodes returned from the relation the same instance? > > which is simple enough? > > We could even wrap this further > > Node otherNode = relation.getOtherNode(node); Yep I think this is usefull -keesj
