public class BeanUtilsHashMapper<T> extends Object implements HashMapper<T,String,String>
| Constructor and Description |
|---|
BeanUtilsHashMapper(Class<T> type)
Create a new
BeanUtilsHashMapper for the given type. |
public BeanUtilsHashMapper(Class<T> type)
BeanUtilsHashMapper for the given type.type - must not be null.public T fromHash(Map<String,String> hash)
HashMapperhash (map) to an object.fromHash in interface HashMapper<T,String,String>public Map<String,String> toHash(T object)
HashMapperobject to a map that can be used with Redis hashes.toHash in interface HashMapper<T,String,String>Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.