protected static class AbstractPojoPathNavigator.PojoPathCache extends Object
AbstractPojoPathNavigator.CachingPojoPath
s based on an initial
Pojo
.Modifier and Type | Field and Description |
---|---|
private Map<String,AbstractPojoPathNavigator.CachingPojoPath> |
cache
The actual cache that maps a
PojoPath to the
resulting AbstractPojoPathNavigator.CachingPojoPath . |
private int |
cachedHash
|
private AbstractPojoPathNavigator.CachingPojoPath |
rootPath
The root path.
|
Constructor and Description |
---|
PojoPathCache(Class<?> initialPojoClass,
GenericType<?> initialPojoType)
The constructor.
|
PojoPathCache(Object initialPojo)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractPojoPathNavigator.PojoPathState |
createState(PojoPathMode mode,
String pojoPath)
This method creates a new
AbstractPojoPathNavigator.PojoPathState instance based on this AbstractPojoPathNavigator.PojoPathCache . |
private final Map<String,AbstractPojoPathNavigator.CachingPojoPath> cache
PojoPath
to the
resulting AbstractPojoPathNavigator.CachingPojoPath
.private AbstractPojoPathNavigator.CachingPojoPath rootPath
private int cachedHash
public PojoPathCache(Object initialPojo)
initialPojo
- is the initial Pojo
for this cache.public PojoPathCache(Class<?> initialPojoClass, GenericType<?> initialPojoType)
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.Copyright © 2001–2016 mmm-Team. All rights reserved.