public void AddEntry( Entry entry ) { m_Entries.Add( entry ); }
public void AddEntry( Entry entry ) { EntrySet entrySet; if( m_EntrySets.ContainsKey( entry.Distance ) ) { entrySet = m_EntrySets[ entry.Distance ]; } else { entrySet = new EntrySet( entry.Distance ); m_EntrySets.Add( entry.Distance, entrySet ); } entrySet.AddEntry( entry ); }