Searched refs:leftIdx (Results 1 – 1 of 1) sorted by relevance
512 int leftIdx = 0; in unstableRemoveIf() local514 while (leftIdx <= rightIdx) { in unstableRemoveIf()516 while (leftIdx < size && !predicate.test(collection.get(leftIdx))) { in unstableRemoveIf()517 leftIdx++; in unstableRemoveIf()521 while (rightIdx > leftIdx && predicate.test(collection.get(rightIdx))) { in unstableRemoveIf()525 if (leftIdx >= rightIdx) { in unstableRemoveIf()530 Collections.swap(collection, leftIdx, rightIdx); in unstableRemoveIf()531 leftIdx++; in unstableRemoveIf()536 for (int i = size - 1; i >= leftIdx; i--) { in unstableRemoveIf()539 return size - leftIdx; in unstableRemoveIf()