public void removeSmaller(int value){
  int targetPosition=Arrays.binarySearch(backingArray,0,numElements,value);
  if (targetPosition < 0) {
    targetPosition=-targetPosition - 1;
  }
  numElements-=targetPosition;
  if (targetPosition != 0 && numElements > 0) {
    System.arraycopy(backingArray,targetPosition,backingArray,0,numElements);
  }
}

public void removeSmaller ( int value ) { int targetPosition = Arrays . binarySearch ( backingArray , 0 , numElements , value ) ; if ( targetPosition < 0 ) { targetPosition = - targetPosition - 1 ; } numElements -= targetPosition ; if ( targetPosition != 0 && numElements > 0 ) { System . arraycopy ( backingArray , targetPosition , backingArray , 0 , numElements ) ; } }
removes all elements from the collection that are smaller than the provided value .
