(Prop<T> key, Supplier<T> def)
| 456 | } |
| 457 | |
| 458 | public <T> T getOr(Prop<T> key, Supplier<T> def) { |
| 459 | T t = get(key); |
| 460 | if (t == null) return def.get(); |
| 461 | return t; |
| 462 | } |
| 463 | |
| 464 | public <T> T computeIfAbsent(Prop<T> k, Function<Prop<T>, T> def) { |
| 465 |
no test coverage detected