@SyntacticIterable public class Storage extends Iterable<String>
Modifier and Type | Field and Description |
---|---|
double |
length |
static Storage |
prototype |
constructor
Constructor and Description |
---|
Storage() |
Modifier and Type | Method and Description |
---|---|
String |
$get(double index) |
Object |
$get(String key)
Gets the value for the given key.
|
void |
clear() |
Object |
getItem(String key) |
Iterator<String> |
iterator()
From Iterable, to allow foreach loop (do not use directly).
|
String |
key(double index) |
void |
removeItem(String key) |
void |
setItem(String key,
String data) |
$applyStatic, $applyStatic, $delete, $delete, $get, $set, $set, $super, assign, create, create, defineProperties, defineProperty, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, hasOwnProperty, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, propertyIsEnumerable, propertyIsEnumerable, seal, toJSString, toLocaleString, toString, valueOf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public double length
public static Storage prototype