code: public long getFirstNumericValue() {
      String val = (value != null) ? value.get(0).toString() : readValue.get(0).toString();
      if (isInteger(val)) {
        return Long.parseLong(val);
      } else {
        return 0;
      }
    }
docs: Gets the first value of the list parsed as a number.
  
  @return the first integer value