code: @Override
      public Object[] toArray() {
          Object[] array = new Object[size()];
          int i = 0;
          for(Record r : values()) {
              array[i++] = r;
          }
          return array;
      }
docs: {@inheritDoc}