code: public static Iterable<String> iterate(final String node) {
          return new Iterable<String>() {
              @Override
              public Iterator<String> iterator() {
                  return new Scanner(node).useDelimiter("/");
              }
          };
      }
docs: Returns an {@link Iterable} over a node's path components.
  @param node A tree-node's full path.
  @return An {@link Iterable} over a node's path components.