@ SuppressWarnings ( "unchecked" ) public < T > PrefabValueFactory < T > get ( Class < T > type ) { if ( type == null ) { return null ; } return ( PrefabValueFactory < T > ) cache . get ( type . getName ( ) ) ; }
Retrieves the factory from the cache for the given type .