Esempio n. 1
0
 public void AddEntry( Entry entry )
 {
     m_Entries.Add( entry );
 }
Esempio n. 2
0
        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 );
        }