|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.commons.util.map.AbstractIMap<K,V>
org.millscript.commons.util.map.AbstractUMap<K,V>
public abstract class AbstractUMap<K,V>
| Constructor Summary | |
|---|---|
AbstractUMap()
|
|
| Method Summary | |
|---|---|
void |
update(Maplet<? extends K,? extends V> entry)
Updates this map with the specified mapping, changing the value associated with the maplets key to the maplets value. |
void |
updateAll(IMap<? extends K,? extends V> map)
Updates all the mappings in this map with those in the specified map. |
| Methods inherited from class org.millscript.commons.util.map.AbstractIMap |
|---|
contains, containsAll, decorate, equals, getDefault, hashCode, isEmtpy, keyList, mapletList, setDefault, sharedKeyList, sharedMapletList, sharedValueList, toString, valueList |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.millscript.commons.util.UMap |
|---|
update |
| Methods inherited from interface org.millscript.commons.util.IMap |
|---|
contains, contains, containsAll, containsKey, containsValue, equals, get, getDefault, hashCode, isEmtpy, iterator, keyList, mapletList, setDefault, size, valueList |
| Constructor Detail |
|---|
public AbstractUMap()
| Method Detail |
|---|
public void update(Maplet<? extends K,? extends V> entry)
UMapThis is generally equivalent to the following code, but may be more efficient in some implementations:
someUMap.update( entry.getKey(), entry.getValue() );
update in interface UMap<K,V>entry - the maplet to update this map withUMap.update(org.millscript.commons.util.Maplet)public void updateAll(IMap<? extends K,? extends V> map)
UMap
updateAll in interface UMap<K,V>map - the map to copy all mappings fromUMap.updateAll(org.millscript.commons.util.IMap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||