/** * Static factory method to create a new {@code SingleColumnRowMapper} (with the required type specified only once). * * @param requiredType the type that each result object is expected to match */ public static <T> SingleColumnRowMapper<T> newInstance(Class<T> requiredType) { return new SingleColumnRowMapper<>(requiredType); } }