public < T > void put ( Class < ? > type , PrefabValueFactory < T > factory ) { if ( type != null ) { cache . put ( type . getName ( ) , factory ) ; } }
Adds the given factory to the cache and associates it with the given type .