| 273 | //----------------------------------------------------------------------------- |
| 274 | |
| 275 | S32 ArrayObject::countKey( const String &key) const |
| 276 | { |
| 277 | S32 count = 0; |
| 278 | for ( S32 i = 0; i < mArray.size(); i++ ) |
| 279 | { |
| 280 | if ( isEqual( mArray[i].key, key ) ) |
| 281 | count++; |
| 282 | } |
| 283 | |
| 284 | return count; |
| 285 | } |
| 286 | |
| 287 | //----------------------------------------------------------------------------- |
| 288 |
no test coverage detected