getAtKeyGeq
getAtKeyGeq(keys: KeyType): MemberType;
The getAtKeyGeq method of the Dictionary class returns a reference to an object in the receiver collection with a key equal to the value specified in the keys parameter.
If the specified key is not found, the next object in the dictionary after the specified key is returned. If no entry equal to or greater than the key is found, this method returns a null value.
When dealing with a descending key dictionary, the terms greater than, less than, and so on, indicate the order of the dictionary keys. For example, C is less than B for a descending alpha key and 10 is less than 5 for a descending numeric key.
The following example shows the use of the getAtKeyGeq method.
positionCollectionByKey(startKey: String; collIter: Iterator io): Object; begin app.myMarket.allInvestors.startKeyGeq(startKey, collIter); return(app.myMarket.allInvestors.getAtKeyGeq(startKey)); end;