|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.jackson.map.deser.impl.BeanPropertyMap
public final class 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.
Constructor Summary | |
---|---|
BeanPropertyMap(Collection<SettableBeanProperty> properties)
|
Method Summary | |
---|---|
Iterator<SettableBeanProperty> |
allProperties()
Accessor for traversing over all contained properties. |
void |
assignIndexes()
|
SettableBeanProperty |
find(String key)
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanPropertyMap(Collection<SettableBeanProperty> properties)
Method Detail |
---|
public void assignIndexes()
public int size()
public Iterator<SettableBeanProperty> allProperties()
public SettableBeanProperty find(String key)
public void replace(SettableBeanProperty property)
public void remove(SettableBeanProperty property)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |