code: public static Stream<Node> stream(Node parent) {
          if (parent == null) {
              return Stream.empty();
          } else {
              return StreamSupport.stream(spliteratorUnknownSize(iterator(parent), 0), false);
          }
      }
docs: Returns a stream for the child nodes of the given parent node.