Logo Search packages:      
Sourcecode: cdk version File versions  Download package

void org::openscience::cdk::ChemSequence::growChemModelArray (  )  [inline, protected, inherited]

Grows the chemModel array by a given size.

See also:
growArraySize

Definition at line 174 of file ChemSequence.java.

References org::openscience::cdk::ChemSequence::chemModels(), and org::openscience::cdk::ChemSequence::growArraySize.

Referenced by org::openscience::cdk::ChemSequence::addChemModel().

      {
            ChemModel[] newchemModels = new ChemModel[chemModels.length + growArraySize];
            System.arraycopy(chemModels, 0, newchemModels, 0, chemModels.length);
            chemModels = newchemModels;
      }


Generated by  Doxygen 1.6.0   Back to index