|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.pojo.path.base.AbstractPojoPathNavigator.PojoPathCache
protected static class AbstractPojoPathNavigator.PojoPathCache
This inner class represents the cache for AbstractPojoPathNavigator.CachingPojoPaths based on
an initial Pojo.
| Field Summary | |
|---|---|
private Map<String,AbstractPojoPathNavigator.CachingPojoPath> |
cache
The actual cache that maps a PojoPath to
the resulting AbstractPojoPathNavigator.CachingPojoPath. |
private int |
cachedHash
The cached hash-code of the
AbstractPojoPathNavigator.CachingPojoPath.pojo from the rootPath. |
private AbstractPojoPathNavigator.CachingPojoPath |
rootPath
The root path. |
| Constructor Summary | |
|---|---|
AbstractPojoPathNavigator.PojoPathCache(Class<?> initialPojoClass,
GenericType<?> initialPojoType)
The constructor. |
|
AbstractPojoPathNavigator.PojoPathCache(Object initialPojo)
The constructor. |
|
| Method Summary | |
|---|---|
protected AbstractPojoPathNavigator.PojoPathState |
createState(PojoPathMode mode,
String pojoPath)
This method creates a new AbstractPojoPathNavigator.PojoPathState instance based on this
AbstractPojoPathNavigator.PojoPathCache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Map<String,AbstractPojoPathNavigator.CachingPojoPath> cache
PojoPath to
the resulting AbstractPojoPathNavigator.CachingPojoPath.
private AbstractPojoPathNavigator.CachingPojoPath rootPath
private int cachedHash
hash-code of the
AbstractPojoPathNavigator.CachingPojoPath.pojo from the rootPath.
| Constructor Detail |
|---|
public AbstractPojoPathNavigator.PojoPathCache(Object initialPojo)
initialPojo - is the initial Pojo
for this cache.
public AbstractPojoPathNavigator.PojoPathCache(Class<?> initialPojoClass,
GenericType<?> initialPojoType)
initialPojoClass - is the initial
Pojo-class for this cache.initialPojoType - is the initial
Pojo-type for this cache.| Method Detail |
|---|
protected AbstractPojoPathNavigator.PojoPathState createState(PojoPathMode mode,
String pojoPath)
AbstractPojoPathNavigator.PojoPathState instance based on this
AbstractPojoPathNavigator.PojoPathCache.
mode - is the mode that determines how to deal
null values.pojoPath - is the initial pojo-path.
AbstractPojoPathNavigator.PojoPathState instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||