| 279 | //----------------------------------------------------------------------------- |
| 280 | |
| 281 | S32 ArrayObject::countKey( const String &key) const |
| 282 | { |
| 283 | S32 count = 0; |
| 284 | for ( S32 i = 0; i < mArray.size(); i++ ) |
| 285 | { |
| 286 | if ( isEqual( mArray[i].key, key ) ) |
| 287 | count++; |
| 288 | } |
| 289 | |
| 290 | return count; |
| 291 | } |
| 292 | |
| 293 | //----------------------------------------------------------------------------- |
| 294 |
no test coverage detected