API: Storage YAHOO.util.StorageEngineKeyed (YUI Library)

# Yahoo! UI Library

### Storage 2.9.0

Yahoo! UI Library > Storage > YAHOO.util.StorageEngineKeyed
Search:
Filters Show Private Show Protected Show Deprecated

## Class YAHOO.util.StorageEngineKeyed

The StorageEngineKeyed class implements the interface necessary for managing keys.

### Constructor

YAHOO.util.StorageEngineKeyed `( )`

### Properties

#### _keyMap - `protected {Object}`

A map of keys to their applicable position in keys array. This should never be edited by the developer.

#### _keys - `protected {Array}`

A collection of keys applicable to the current location. This should never be edited by the developer.

### Methods

#### _addKey

`protected void _addKey ( sKey )`
Adds the key to the set.

Parameters:
  `sKey <String>` Required. The key to evaluate.

#### _indexOfKey

`protected void _indexOfKey ( sKey )`
Evaluates if a key exists in the keys array; indexOf does not work in all flavors of IE.

Parameters:
  `sKey <String>` Required. The key to evaluate.

#### _removeItem

`protected void _removeItem ( sKey )`
Removes a key from the keys array.

Parameters:
  `sKey <String>` Required. The key to remove.

Copyright © 2011 Yahoo! Inc. All rights reserved.