(Object a, Object b)
| 492 | } |
| 493 | |
| 494 | public static Object mathMax(Object a, Object b) { |
| 495 | if (a == null || b == null) return null; |
| 496 | double first = toDouble(a); |
| 497 | double second = toDouble(b); |
| 498 | return (first > second) ? a : b; |
| 499 | } |
| 500 | |
| 501 | public static int getIndexOf(Object str, Object target) { |
| 502 | if (str instanceof List<?>) { |