Class BeanPropertyMap
java.lang.Object
org.codehaus.jackson.map.deser.impl.BeanPropertyMap
Helper class used for storing mapping from property name to
SettableBeanProperty
instances.
Note that this class is used instead of generic HashMap
is performance: although default implementation is very good for generic
use cases, it can still be streamlined a bit for specific use case
we have.
- Since:
- 1.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAccessor for traversing over all contained properties.void
void
remove
(SettableBeanProperty property) Specialized method for removing specified existing entry.void
replace
(SettableBeanProperty property) Specialized method that can be used to replace an existing entry (note: entry MUST exist; otherwise exception is thrown) with specified replacement.int
size()
-
Constructor Details
-
BeanPropertyMap
-
-
Method Details
-
assignIndexes
public void assignIndexes() -
size
public int size() -
allProperties
Accessor for traversing over all contained properties. -
find
-
replace
Specialized method that can be used to replace an existing entry (note: entry MUST exist; otherwise exception is thrown) with specified replacement. -
remove
Specialized method for removing specified existing entry. NOTE: entry MUST exist, otherwise an exception is thrown.- Since:
- 1.9
-