public class JsDictionary<V>
extends com.google.gwt.core.client.JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
JsDictionary() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(String key) |
boolean |
containsValue(V value) |
static <V> JsDictionary<V> |
create(Class<V> valueType) |
Iterable<Map.Entry<String,V>> |
entries() |
V |
get(String key) |
boolean |
isEmpty() |
protected String[] |
keyArray() |
Iterable<String> |
keys() |
Class<String> |
keyType() |
V |
put(String key,
V value) |
void |
putAll(Iterable<Map.Entry<String,V>> items) |
boolean |
remove(String key) |
void |
removeAll(Iterable<String> items) |
V |
removeAndReturn(String key) |
int |
size() |
V[] |
toArray() |
Collection<V> |
toCollection(Collection<V> into) |
Map<String,V> |
toMap(Map<String,V> into) |
Iterable<V> |
values() |
Class<V> |
valueType() |
public static <V> JsDictionary<V> create(Class<V> valueType)
protected final String[] keyArray()
public final boolean containsKey(String key)
public final boolean containsValue(V value)
public final boolean isEmpty()
public final void clear()
public final boolean remove(String key)
public final int size()
public final V[] toArray()
public final Collection<V> toCollection(Collection<V> into)
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.