(@NotNull K key, @NotNull V value)
| 685 | } |
| 686 | |
| 687 | public final void insert(@NotNull K key, @NotNull V value) { |
| 688 | if (!tryAdd(key, value)) { |
| 689 | throw new IllegalArgumentException(String.format("table:%s insert key:%s exists", |
| 690 | getClass().getName(), key)); |
| 691 | } |
| 692 | } |
| 693 | |
| 694 | public final void put(@NotNull K key, @NotNull V value) { |
| 695 | var currentT = Transaction.getCurrent(); |