goog.storage.mechanism.Mechanism | |
goog.storage.mechanism.IterableMechanism | goog.storage.mechanism.Mechanism |
goog.storage.mechanism.PrefixedMechanism | goog.storage.mechanism.IterableMechanism |
mechanism
: !goog.storage.mechanism.IterableMechanism
Underlying
iterable storage mechanism.
|
prefix
: string
Prefix for creating an artificial namespace.
|
Returns an iterator that iterates over the elements in the storage. Will
throw goog.iter.StopIteration after the last element.
Arguments:
Returns: !goog.iter.Iterator
The iterator.
|
code » | ||
![]()
Remove all key-value pairs.
Could be overridden in a subclass, as the default implementation is not very
efficient - it iterates over all keys.
|
code » | ||
Get the number of stored key-value pairs.
Could be overridden in a subclass, as the default implementation is not very
efficient - it iterates over all keys.
Returns: number
Number of stored elements.
|
code » |
![]()
No description.
|
Code » |
![]()
No description.
|
Code » |