[Quantproject-developers] QuantProject/b1_ADT AdvancedSortedList.cs,1.1.1.1,1.2
Brought to you by:
glauco_1
|
From: <gla...@us...> - 2003-12-01 15:23:11
|
Update of /cvsroot/quantproject/QuantProject/b1_ADT
In directory sc8-pr-cvs1:/tmp/cvs-serv21073/b1_ADT
Modified Files:
AdvancedSortedList.cs
Log Message:
Fixed the GetKeyOrPrevious
Index: AdvancedSortedList.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b1_ADT/AdvancedSortedList.cs,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** AdvancedSortedList.cs 13 Oct 2003 21:57:15 -0000 1.1.1.1
--- AdvancedSortedList.cs 1 Dec 2003 15:23:08 -0000 1.2
***************
*** 81,85 ****
public Object GetKeyOrPrevious( Object key )
{
! return this.GetKey( this.IndexOfKey( key ) );
}
public bool IsLastKey( Object key )
--- 81,85 ----
public Object GetKeyOrPrevious( Object key )
{
! return this.GetKey( this.IndexOfKeyOrPrevious( key ) );
}
public bool IsLastKey( Object key )
|