void add(@NotNull T element) {
    while (true) {
      T[] oldArray = get();
      int i = insertionIndex(oldArray, element);
      T[] newArray = ArrayUtil.insert(oldArray, i, element);
      if (compareAndSet(oldArray, newArray)) break;
    }
  }
void add(@NotNull T element)