public static <T> DtoRowMapper<T> newInstance(Class<T> mappedClass) {
        DtoRowMapper<T> newInstance = new DtoRowMapper<T>();
        newInstance.setMappedClass(mappedClass);
        return newInstance;
    }
public static <T> DtoRowMapper<T> newInstance(Class<T> mappedClass) {
        DtoRowMapper<T> newInstance = new DtoRowMapper<T>();
        newInstance.setMappedClass(mappedClass);
        return newInstance;
    }
public static < T > DtoRowMapper < T > newInstance ( Class < T > mappedClass ) { DtoRowMapper < T > newInstance = new DtoRowMapper < T > ( ) ; newInstance . setMappedClass ( mappedClass ) ; return newInstance ; }
Static factory method to update a new DtoRowMapper
(with the mapped class specified only once).
@param mappedClass the class that each row should be mapped to
Static factory method to update a new DtoRowMapper ( with the mapped class specified only once ) .