org.omnaest.utils.beans.adapter
Interface PropertynameMapToTypeAdapter.Builder<T>
- Type Parameters:
T -
- All Superinterfaces:
- Serializable
- Enclosing class:
- PropertynameMapToTypeAdapter<T>
public static interface PropertynameMapToTypeAdapter.Builder<T>
- extends Serializable
PropertynameMapToTypeAdapter.Builder which allows to create multiple instances based on the same Class type and PropertynameMapToTypeAdapter.Configuration.
This is much faster for creating many instances than a normal instantiation, since the Class code has only to be
generated once for a prototype. Based on that prototype all further instances can be cloned.
- Author:
- Omnaest
|
Method Summary |
|
newTypeAdapter(M map)
Creates the stub instance based on the given Map |
newTypeAdapter
<M extends Map<String,Object>> T newTypeAdapter(M map)
- Creates the stub instance based on the given
Map
- Parameters:
map - Map
Copyright © 2013. All Rights Reserved.