docs: public static long[] toArray(LongTuple t)
      {
          int d = t.getSize();
          long result[] = new long[d];
          for (int i=0; i<d; i++)
          {
              result[i] = t.get(i);
          }
          return result;
      }