Searched refs:leftIdx (Results 1 – 1 of 1) sorted by relevance
631 int leftIdx = 0; in unstableRemoveIf() local633 while (leftIdx <= rightIdx) { in unstableRemoveIf()635 while (leftIdx < size && !predicate.test(collection.get(leftIdx))) { in unstableRemoveIf()636 leftIdx++; in unstableRemoveIf()640 while (rightIdx > leftIdx && predicate.test(collection.get(rightIdx))) { in unstableRemoveIf()644 if (leftIdx >= rightIdx) { in unstableRemoveIf()649 Collections.swap(collection, leftIdx, rightIdx); in unstableRemoveIf()650 leftIdx++; in unstableRemoveIf()655 for (int i = size - 1; i >= leftIdx; i--) { in unstableRemoveIf()658 return size - leftIdx; in unstableRemoveIf()