Removes a ChemSequence from this container.

@param  pos  The position from which to remove
@see   #chemSequences
@see #addChemSequence(org.openscience.cdk.interfaces.IChemSequence)
502118
@Override
    public void removeChemSequence(int pos) {
        for (int i = pos; i < chemSequenceCount - 1; i++) {
            chemSequences[i] = chemSequences[i + 1];
        }
        chemSequences[chemSequenceCount - 1] = null;
        chemSequenceCount--;
    }
764399
private void percolateUp(int pos) {
    int x = this.heap.get(pos);
    int p = parent(pos);
    int j = pos;
    while (j != 0 && this.s.lt(x, this.heap.get(p))) {
      this.heap.set(j, this.heap.get(p));
      this.indices.set(this.heap.get(p), j);
      j = p;
      p = parent(p);
    }
    this.heap.set(j, x);
    this.indices.set(x, j);
  }
311367
protected void moveUp(int pos)
  {
//    if (tc.isEntryEnabled())
//      SibTr.entry(tc, "moveUp", new Integer(pos));

    PriorityQueueNode node = elements[pos];
    long priority = node.priority;

    while ((pos > 0) && (elements[parent(pos)].priority > priority))
    {
      setElement(elements[parent(pos)], pos);
      pos = parent(pos);
    }

    setElement(node, pos);

//    if (tc.isEntryEnabled())
//      SibTr.exit(tc, "moveUp");
  }
844910
public static void removeAcidicOxygen(IAminoAcid acid) throws CDKException {
        if (acid.getCTerminus() == null) throw new CDKException("Cannot remove oxygen: C-terminus is not defined!");

        java.util.List<IBond> bonds = acid.getConnectedBondsList(acid.getCTerminus());
        // ok, look for the oxygen which is singly bonded
        for (IBond bond : bonds) {
            if (bond.getOrder() == Order.SINGLE) {
                for (int j = 0; j < bond.getAtomCount(); j++) {
                    if (bond.getAtom(j).getSymbol().equals("O")) {
                        // yes, we found a singly bonded oxygen!
                        acid.removeAtom(bond.getAtom(j));
                    }
                }
            }
        }
    }
1053430
def _sanitize_position(self, pos, tree=None):
        
        if pos is not None:
            tree = tree or self._tree
            entry = self._lookup_entry(tree, pos)
            if isinstance(entry, Tree):
                pos = pos + self._sanitize_position((entry.root,), tree=entry)
        return pos
397071
public void note(DiagnosticPosition pos, String key, Object ... args) {
        note(pos, diags.noteKey(key, args));
    }
1078932
public void removePoints( GrowQueue_I32 which ) {
		SceneStructureMetric.Point results[] = new SceneStructureMetric.Point[points.length-which.size];

		int indexWhich = 0;
		for (int i = 0; i < points.length ; i++) {
			if( indexWhich < which.size && which.data[indexWhich] == i ) {
				indexWhich++;
			} else {
				results[i-indexWhich] = points[i];
			}
		}

		points = results;
	}
167037
public void insertNode(int n, int pos)
  {

    if (!m_mutable)
      throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESETDTM_NOT_MUTABLE, null)); //"This NodeSetDTM is not mutable!");

    insertElementAt(n, pos);
  }
327434
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setCode($value);
                break;
            case 1:
                $this->setAtosCode($value);
                break;
            case 2:
                $this->setDecimals($value);
                break;
        } // switch()
    }
346432
@SuppressWarnings("unused") // Public API
    public void removePositionUpdateListener(@NonNull PositionUpdateListener listener) {
        listeners.remove(listener);
        if (isReady()) {
            getToView().getPositionAnimator().removePositionUpdateListener(listener);
        }
    }
438693
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setFeatureId($value);
                break;
            case 2:
                $this->setFeatureTypeId($value);
                break;
        } // switch()
    }
306306
public function reset($pos = null){
		
		if(\is_int($pos)){
			$this->offsetSet($pos, false);
		}
		else{
			$this->_List = ArrayList::repeat(false, $this->count());
		}
		
	}
744545
public void setPosition(Long pos) {
        Interval interval = getInterval();
        if (interval != null) {
            resetInterval(pos, interval.getStartGranularity());
        } else {
            resetInterval(pos, null);
        }
    }
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();
    }
1012859
private static int nextSep(String desc, int pos) {
        int pos2 = desc.length();  // assume we'll find none
        int candidate = desc.indexOf('+', pos);
        if (candidate > 0) {
            pos2=candidate;
        }

        candidate = desc.indexOf('-', pos);
        if (candidate>0) {
            pos2 = Math.min(candidate, pos2);
        }

        candidate = desc.indexOf('~', pos);
        if (candidate>0) {
            pos2 = Math.min(candidate, pos2);
        }
        return pos2;
    }
681114
public static void visitLine(BytecodeContext bc, Position pos) {
	if (pos != null) {
	    visitLine(bc, pos.line);
	}
    }
913567
public void setDefaultPOS(String pos) throws UnsupportedDataTypeException{
		int lpos = postagAlphabet.lookupIndex(pos);
		if(lpos==-1){			
				throw new UnsupportedDataTypeException("不支持词性："+pos);
		}
		defaultPOS = pos;
	}