public class MapType extends Object implements ValueType
| Modifier and Type | Field and Description |
|---|---|
static Persistent.Object |
CONSTANT |
| Constructor and Description |
|---|
MapType(ScalarType keyType) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.javersion.path.PropertyTree propertyTree,
Object object,
ReadContext context) |
Object |
instantiate(org.javersion.path.PropertyTree propertyTree,
Object constant,
ReadContext context) |
protected Map<Object,Object> |
newMap(int size) |
void |
serialize(org.javersion.path.PropertyPath path,
Object object,
WriteContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisReferencepublic static final Persistent.Object CONSTANT
public MapType(ScalarType keyType)
public Object instantiate(org.javersion.path.PropertyTree propertyTree, Object constant, ReadContext context) throws Exception
instantiate in interface ValueTypeExceptionpublic void bind(org.javersion.path.PropertyTree propertyTree,
Object object,
ReadContext context)
throws Exception
public void serialize(org.javersion.path.PropertyPath path,
Object object,
WriteContext context)
Copyright © 2015. All rights reserved.