public final boolean removeElement(int s){
  for (int i=0; i < m_firstFree; i++) {
    if (m_map[i] == s) {
      if ((i + 1) < m_firstFree)       System.arraycopy(m_map,i + 1,m_map,i - 1,m_firstFree - i);
 else       m_map[i]=java.lang.Integer.MIN_VALUE;
      m_firstFree--;
      return true;
    }
  }
  return false;
}

public final boolean removeElement ( int s ) { for ( int i = 0 ; i < m_firstFree ; i ++ ) { if ( m_map [ i ] == s ) { if ( ( i + 1 ) < m_firstFree ) System . arraycopy ( m_map , i + 1 , m_map , i - 1 , m_firstFree - i ) ; else m_map [ i ] = java . lang . Integer . MIN_VALUE ; m_firstFree -- ; return true ; } } return false ; }
removes the first occurrence of the argument from this vector . if the object is found in this vector , each component in the vector with an index greater or equal to the object ' s index is shifted downward to have an index one smaller than the value it had previously .
