code: public QueryNode[] getOperands() {
          if (operands == null) {
              return new QueryNode[0];
          } else {
              return (QueryNode[]) operands.toArray(new QueryNode[operands.size()]);
          }
      }
docs: Returns an array of currently set <code>QueryNode</code> operands of this
  <code>QueryNode</code>. Returns an empty array if no operands are set.
  
  @return currently set <code>QueryNode</code> operands.