public static class C.Map<K,V> extends Object implements Map<K,V>, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
C.Map.Entry<K,V> |
| Modifier | Constructor and Description |
|---|---|
protected |
Map(boolean readOnly,
Map<? extends K,? extends V> map) |
protected |
Map(boolean readOnly,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
C.Map<K,V> |
accept(Osgl.Func2<? super K,? super V,?> indexedVisitor)
Alias of
forEach(Osgl.Func2) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
C.Map<K,V> |
each(Osgl.Func2<? super K,? super V,?> indexedVisitor)
Alias of
forEach(Osgl.Func2) |
C.Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object o) |
C.Map<K,V> |
forEach(Osgl.Func2<? super K,? super V,?> indexedVisitor)
Loop through this map on each key/value pair, apply them to the function specified
|
V |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
boolean |
readOnly() |
C.Map<K,V> |
readOnly(boolean readOnly) |
V |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<V> |
values() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Map(boolean readOnly,
Object... args)
public boolean containsKey(Object key)
containsKey in interface Map<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>public int hashCode()
public boolean equals(Object o)
public boolean readOnly()
public C.Map<K,V> forEach(Osgl.Func2<? super K,? super V,?> indexedVisitor)
indexedVisitor - the function that takes argument of (key, value) pairpublic C.Map<K,V> each(Osgl.Func2<? super K,? super V,?> indexedVisitor)
forEach(Osgl.Func2)indexedVisitor - the visitor that can be applied on Key/Value pair stored in this Mappublic C.Map<K,V> accept(Osgl.Func2<? super K,? super V,?> indexedVisitor)
forEach(Osgl.Func2)indexedVisitor - the visitor that can be applied on Key/Value pair stored in this MapCopyright © 2017. All Rights Reserved.