remove(i >= head?i - head:capacity - head + i); return true;
remove(i >= head?i - head:capacity - head + i); return true;
remove(i >= head?i - head:capacity - head + i); return true;
remove(i >= head ? i - head : capacity - head + i); return true;
remove(i >= head ? i - head : capacity - head + i); return true;