code: public MtasSpanQuery getPositiveQuery(int index) {
      if ((index >= 0) && (index < positiveQueryList.size())) {
        return positiveQueryList.get(index);
      } else {
        return null;
      }
    }
docs: Gets the positive query.
  
  @param index the index
  @return the positive query