public class MapOf<K,V> extends Object implements CollectionProxy<K,V>, Map<K,V>, HasValues<K,V>, ObjectTo<K,V>
ObjectTo.Many<K,V>| Constructor and Description |
|---|
MapOf(Map<K,V> map,
Class<K> keyClass,
Class<V> valueClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
ObjectTo<K,V> |
clone(CollectionOptions options) |
Class<?> |
componentType() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Iterable<Map.Entry<K,V>> |
entries() |
Map.Entry<K,V> |
entryFor(Object key) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
boolean |
isEmpty() |
Iterable<K> |
keys() |
Set<K> |
keySet() |
Class<K> |
keyType() |
V |
put(K key,
V value) |
V |
put(Map.Entry<K,V> item) |
void |
putAll(Iterable<Map.Entry<K,V>> items) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key) |
void |
removeAll(Iterable<K> keys) |
void |
setValue(Object key,
Object value) |
int |
size() |
V[] |
toArray() |
Collection<V> |
toCollection(Collection<V> into) |
Map<K,V> |
toMap(Map<K,V> into) |
Collection<V> |
values() |
Class<V> |
valueType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic void clear()
public ObjectTo<K,V> clone(CollectionOptions options)
clone in interface CollectionProxy<K,V>public Class<?> componentType()
componentType in interface ObjectTo<K,V>public boolean containsKey(Object key)
containsKey in interface Map<K,V>containsKey in interface HasValues<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>containsValue in interface HasValues<K,V>public Iterable<Map.Entry<K,V>> entries()
entries in interface EntryIterable<K,V>public Map.Entry<K,V> entryFor(Object key)
entryFor in interface CollectionProxy<K,V>public boolean isEmpty()
public void setValue(Object key, Object value)
setValue in interface CollectionProxy<K,V>public int size()
public V[] toArray()
toArray in interface CollectionProxy<K,V>public Collection<V> toCollection(Collection<V> into)
toCollection in interface CollectionProxy<K,V>public Collection<V> values()
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.