Remove dimension stat by dimension

@param statDimension InvocationStatDimension
485635
public static void removeInvocationStat(InvocationStatDimension statDimension) {
        InvocationStat invocationStat = ALL_STATS.remove(statDimension);
        if (invocationStat != null) {
            for (InvocationStatListener listener : LISTENERS) {
                listener.onRemoveInvocationStat(invocationStat);
            }
        }
    }
434107
public void remove(int idx) {
        size--;
        System.arraycopy(data, idx + 1, data, idx, size - idx);
    }
838119
void clear() {
		count = 0;
		m0 = 0.0;
		clusters.space.setToOrigin(m1);
		clusters.space.setToOrigin(m2);
		var = 0.0;
		key = null;
	}
763369
def remove_namespace(self, namespace):
        """"""
        params = (namespace, )
        execute = self.cursor.execute
        execute('DELETE FROM gauged_data WHERE namespace = %s', params)
        execute('DELETE FROM gauged_statistics WHERE namespace = %s', params)
        execute('DELETE FROM gauged_keys WHERE namespace = %s', params)
        self.remove_cache(namespace)
1034112
public void setTargetingDimension(com.google.api.ads.admanager.axis.v201805.TargetingDimension targetingDimension) {
        this.targetingDimension = targetingDimension;
    }
1170088
def _detach_dim_scale(self, name):
        """"""
        for var in self.variables.values():
            for n, dim in enumerate(var.dimensions):
                if dim == name:
                    var._h5ds.dims[n].detach_scale(self._all_h5groups[dim])

        for subgroup in self.groups.values():
            if dim not in subgroup._h5group:
                subgroup._detach_dim_scale(name)
682550
public void setDimensions(int maxCols, int minCols, int maxRows, int minRows) {
    this.maxCols = maxCols;
    this.minCols = minCols;
    this.maxRows = maxRows;
    this.minRows = minRows;
  }
1131184
public void remove( int index ) {
		T removed = data[index];
		for( int i = index+1; i < size; i++ ) {
			data[i-1] = data[i];
		}
		data[size-1] = removed;
		size--;
	}
466301
public void remove(CmsPublishedResource res) {

        remove(res.getStructureId(), res.getRootPath(), res.getType());
    }
628138
public void removeHistogram(String histogramID) throws ShanksException {
        Scenario3DPortrayal scenarioPortrayal = (Scenario3DPortrayal) this
                .getSimulation().getScenarioPortrayal();
        scenarioPortrayal.removeHistogram(histogramID);
    }
58957
def delete_dimension(dimension_id,**kwargs):
    
    try:
        dimension = db.DBSession.query(Dimension).filter(Dimension.id==dimension_id).one()

        db.DBSession.query(Unit).filter(Unit.dimension_id==dimension.id).delete()

        db.DBSession.delete(dimension)
        db.DBSession.flush()
        return True
    except NoResultFound:
        raise ResourceNotFoundError("Dimension (dimension_id=%s) does not exist"%(dimension_id))
303861
private void removeObservation( int index ) {
        final int N = y.numRows-1;
        final double d[] = y.data;

        // shift
        for( int i = index; i < N; i++ ) {
            d[i] = d[i+1];
        }
        y.numRows--;
    }
984945
public void trimToSize() {
		this.modCount++;
		final int oldCapacity = this.data.length;
		if (this.size < oldCapacity) {
			this.data = Arrays.copyOf(this.data, this.size);
		}
	}
1340953
void remove(long hashEntryAdr, long expireAt)
    {
        int slot = slot(expireAt);
        slots[slot].remove(hashEntryAdr);
    }
835767
public void deleteAbstractAliasDestinationHandler(AbstractAliasDestinationHandler abstractAliasDestinationHandler)
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "deleteAbstractAliasDestinationHandler");
    
    //The destination is an alias or a foreign destination, so its not persisted
    //It is removed immediately from the appropriate index
    if(abstractAliasDestinationHandler instanceof BusHandler)
    {
      _foreignBusIndex.remove(abstractAliasDestinationHandler);
    }
    else
    {
      _destinationIndex.remove(abstractAliasDestinationHandler);
    }
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "deleteAbstractAliasDestinationHandler");
  }
1027902
public void removeVertex(int index) {
        this.cornerX.remove(index);
        this.cornerY.remove(index);
        this.cornerZ.remove(index);
        if (isGradation() == true) this.cornerColor.remove(index);
        setNumberOfCorner(this.cornerX.size());
        calcG();
    }
778627
def reset(self, dim):
        
        if self.dim != dim:
            self.dim = dim
            self.normals = self.rand.randn(self.projection_count, dim)