Concept Framework 1.0 documentation | Contents | Index |
Name | Type | Access | Version | Deprecated |
FindSortedPlace | function | static | version 1.0 | no |
static function FindSortedPlace(arr, sort_column, element, direction) |
arr | array of MultiItems. |
sort_column | the number of the column in the array to use as the sort column |
element | an array or an element that need to be added the the array (arr parameter) |
direction | 1 for ascending, anything else for descending |
This function finds the position to add an element, in order to keep the array sorted. It uses a simple binary search in order to get better timings. |
Documented by Eduard Suica, generation time: Thu Oct 15 20:01:54 2009 GMT | (c)2009 RadGs Software |