示例#1
0
  // ---------------------------------------------------------------------------
  public String toString() {
    StringBuilder sb = new StringBuilder();

    sb.append("id=\"");
    sb.append(m_id.getValue());
    sb.append("\" ");
    sb.append("metric_id=\"");
    sb.append(m_metricId.getValue());
    sb.append("\" ");
    sb.append("timestamp=\"");
    sb.append(m_timestamp.getValue());
    sb.append("\" ");
    sb.append("long_value=\"");
    sb.append(m_longValue.getValue());
    sb.append("\" ");
    sb.append("double_value=\"");
    sb.append(m_doubleValue.getValue());
    sb.append("\" ");

    return (sb.toString().trim());
  }
示例#2
0
 public double getDoubleValue() {
   return (m_doubleValue.getValue());
 }