Class MapEntityOps
Wrapper to treat a Java object as a map with a set of predefined keys.
Note: As this breaks the map contract (similar to some cache implementations),
it may be better introduce a separate interface which is similar to map yet different.
- Author:
- raven
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, size, toString, valuesMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
entityOps
-
entity
-
-
Constructor Details
-
MapEntityOps
-
-
Method Details
-
getEntityOps
-
getEntity
-
get
-
put
-
entrySet
-