code: public static NodeSequence withNodes( final Collection<CachedNode> nodes,
                                            final float score,
                                            final String workspaceName ) {
          if (nodes == null || nodes.isEmpty()) return emptySequence(1);
          return withNodes(nodes.iterator(), nodes.size(), score, workspaceName);
      }
docs: Create a sequence of nodes that iterates over the supplied nodes. Note that the supplied iterator is accessed lazily as the
  resulting sequence's {@link #nextBatch() first batch} is {@link Batch#nextRow() used}.
  
  @param nodes the iterator over the nodes to be returned; if null, an {@link #emptySequence empty instance} is returned
  @param score the score to return for all of the nodes
  @param workspaceName the name of the workspace in which all of the nodes exist
  @return the sequence of nodes; never null