public class SimpleMapAccessor<K,V> extends Object implements MapAccessor<K,V>
| Constructor and Description |
|---|
SimpleMapAccessor(Map<K,V> delegate) |
public Map<K,V> getMap(boolean writable)
MapAccessorgetMap in interface MapAccessor<K,V>writable - whether or not the Map will be accessed for a write-type (e.g., put, remove...) operation.
This allows for lazy initialization via a create-on-write mechanism.Copyright © 2025 JBoss by Red Hat. All Rights Reserved.