public void onRemove(@NotNull Consumer<? super N> consumer) {
    Consumer old = nodeRemoved;
    nodeRemoved = old == null ? consumer : old.andThen(consumer);
  }
public void onRemove(@NotNull Consumer<? super N> consumer)