Update of /cvsroot/quantproject/QuantProject/b1_ADT
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14465/b1_ADT
Modified Files:
AdvancedSortedList.cs
Log Message:
Minor change: added method's comment
Index: AdvancedSortedList.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b1_ADT/AdvancedSortedList.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** AdvancedSortedList.cs 26 May 2005 23:29:45 -0000 1.3
--- AdvancedSortedList.cs 8 Apr 2006 18:25:10 -0000 1.4
***************
*** 72,76 ****
/// <summary>
/// Returns the index for the given key. If the key is missing, it returns the
! /// index for the next previous element.
/// </summary>
/// <param name="key"></param>
--- 72,76 ----
/// <summary>
/// Returns the index for the given key. If the key is missing, it returns the
! /// index for the previous element.
/// </summary>
/// <param name="key"></param>
***************
*** 92,95 ****
--- 92,101 ----
return this.GetKey( this.IndexOfKeyOrPrevious( key ) );
}
+ /// <summary>
+ /// Returns the value for the given key. If the key is missing,
+ /// it returns the value for the previous existent key
+ /// </summary>
+ /// <param name="key"></param>
+ /// <returns></returns>
public object GetByKeyOrPrevious( Object key )
{
|