public void removeStat(String key) throws AdeInternalException {
  if (!m_allKeys.remove(key)) {
    throw new AdeInternalException("No statistic named " + key);
  }
  if (m_doubleStats.remove(key) == null && m_stringStats.remove(key) == null) {
    throw new AdeInternalException("Internal consistency problem: no key found");
  }
}

public void removeStat ( String key ) throws AdeInternalException { if ( ! m_allKeys . remove ( key ) ) { throw new AdeInternalException ( "No statistic named " + key ) ; } if ( m_doubleStats . remove ( key ) == null && m_stringStats . remove ( key ) == null ) { throw new AdeInternalException ( "Internal consistency problem: no key found" ) ; } }
remove the given statistic from the object .
