222223224225226227228229230231232
{ case BREADTH_FIRST: description = description.breadthFirst(); break; case DEPTH_FIRST: description = description.depthFirst(); break; default: throw new IllegalArgumentException( "Onsupported traversal order: " + order );
229230231232233234235236237238239
switch (order) { case BREADTH_FIRST: rt.breadthFirst(); break; case DEPTH_FIRST: rt.depthFirst(); break; } // writing down relations while (!entries.isEmpty()) { Object[] entry = entries.pop();