public void removeBigger(int value){
  int targetPosition=Arrays.binarySearch(backingArray,0,numElements,value);
  if (targetPosition < 0) {
    targetPosition=-targetPosition - 1;
  }
  numElements=targetPosition;
}

public void removeBigger ( int value ) { int targetPosition = Arrays . binarySearch ( backingArray , 0 , numElements , value ) ; if ( targetPosition < 0 ) { targetPosition = - targetPosition - 1 ; } numElements = targetPosition ; }
removes all elements from the collection that are bigger than the provided value .
