You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
map.put(Character.class, s -> s.startsWith("\\u") ? Character.toChars(Integer.parseInt(s.substring(2), HEX_RADIX))[0] : s.charAt(0));
242
+
map.put(Double.class, Double::parseDouble);
243
+
map.put(Float.class, Float::parseFloat);
244
+
map.put(BigInteger.class, BigInteger::new);
245
+
map.put(BigDecimal.class, BigDecimal::new);
246
+
returnmap;
247
+
}
248
+
228
249
/**
229
250
* Registers a Converter for a Class. If {@code converter} is null registration is cleared for {@code clazz}, and no converter will be used in processing.
230
251
*
@@ -248,23 +269,7 @@ public static <T> void register(final Class<T> clazz, final Converter<T, ? exten
0 commit comments