@Override
  public <T> T[] toArray(T[] a) {
    return data.toArray(a);
  }
This is used as a wrapper over all the results of PR which are of non distinct type
geode-core/src/main/java/org/apache/geode/cache/query/internal/CumulativeNonDistinctResults.java