code: public Double getDouble (int index) {
          String string = getString (index);
          return (string != null) ? Double.parseDouble (string) : null;
      }
docs: Retrieve an indexed element and return it as a Double.
  
  @param index An integer value specifying the offset from the beginning of the array.
  @return The element as a Double, or null if the element is not found.