/** {@inheritDoc} */ public boolean retainAll( short[] array ) { boolean changed = false; Arrays.sort( array ); short[] set = _set; byte[] states = _states; _autoCompactTemporaryDisable = true; for ( int i = set.length; i-- > 0; ) { if ( states[i] == FULL && ( Arrays.binarySearch( array, set[i] ) < 0) ) { removeAt( i ); changed = true; } } _autoCompactTemporaryDisable = false; return changed; }
/** {@inheritDoc} */ public boolean remove( short val ) { int index = index(val); if ( index >= 0 ) { removeAt( index ); return true; } return false; }
/** {@inheritDoc} */ public boolean retainAll( short[] array ) { boolean changed = false; Arrays.sort( array ); short[] set = _set; byte[] states = _states; _autoCompactTemporaryDisable = true; for ( int i = set.length; i-- > 0; ) { if ( states[i] == FULL && ( Arrays.binarySearch( array, set[i] ) < 0) ) { removeAt( i ); changed = true; } } _autoCompactTemporaryDisable = false; return changed; }
/** {@inheritDoc} */ public boolean retainAll( short[] array ) { boolean changed = false; Arrays.sort( array ); short[] set = _set; byte[] states = _states; for ( int i = set.length; i-- > 0; ) { if ( states[i] == FULL && ( Arrays.binarySearch( array, set[i] ) < 0) ) { removeAt( i ); changed = true; } } return changed; }
/** {@inheritDoc} */ public boolean retainAll( short[] array ) { boolean changed = false; Arrays.sort( array ); short[] set = _set; byte[] states = _states; _autoCompactTemporaryDisable = true; for ( int i = set.length; i-- > 0; ) { if ( states[i] == FULL && ( Arrays.binarySearch( array, set[i] ) < 0) ) { removeAt( i ); changed = true; } } _autoCompactTemporaryDisable = false; return changed; }
/** {@inheritDoc} */ @Override public boolean retainAll( short[] array ) { boolean changed = false; Arrays.sort( array ); short[] set = _set; byte[] states = _states; _autoCompactTemporaryDisable = true; for ( int i = set.length; i-- > 0; ) { if ( states[i] == FULL && ( Arrays.binarySearch( array, set[i] ) < 0) ) { removeAt( i ); changed = true; } } _autoCompactTemporaryDisable = false; return changed; }
/** {@inheritDoc} */ public boolean remove( short val ) { int index = index(val); if ( index >= 0 ) { removeAt( index ); return true; } return false; }
/** {@inheritDoc} */ public boolean remove( short val ) { int index = index(val); if ( index >= 0 ) { removeAt( index ); return true; } return false; }
/** {@inheritDoc} */ @Override public boolean remove( short val ) { int index = index(val); if ( index >= 0 ) { removeAt( index ); return true; } return false; }
/** {@inheritDoc} */ public boolean remove( short val ) { int index = index(val); if ( index >= 0 ) { removeAt( index ); return true; } return false; }