D
- domain type.R
- range type.public class MapMapping<D,R> extends Object implements MutableMapping<D,R>
Constructor and Description |
---|
MapMapping() |
MapMapping(Map<D,R> map)
Constructor.
|
MapMapping(Map<D,R> map,
boolean copy) |
Modifier and Type | Method and Description |
---|---|
static <D,R> MapMapping<D,R> |
create(Map<D,R> map) |
Set<Map.Entry<D,R>> |
entrySet()
Delegates to the underlying
Map . |
R |
get(D elem) |
R |
put(D key,
R value)
Delegates to the underlying
Map . |
public static <D,R> MapMapping<D,R> create(Map<D,R> map)
public R put(D key, R value)
Map
.put
in interface MutableMapping<D,R>
Map.put(Object, Object)
Copyright © 2020. All rights reserved.