亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? strand.java

?? 化學(xué)圖形處理軟件
?? JAVA
字號:
/* $RCSfile$ * $Author: egonw $ * $Date: 2007-02-16 14:38:49 +0100 (Fri, 16 Feb 2007) $ * $Revision: 7960 $ *  * Copyright (C) 2004-2007  Martin Eklund <martin.eklund@farmbio.uu.se> *  * Contact: cdk-devel@lists.sourceforge.net *  * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 * of the License, or (at your option) any later version. * All we ask is that proper credit is given for our work, which includes * - but is not limited to - adding the above copyright notice to the beginning * of your source code files, and to any copyright notice that you may distribute * with programs based on this work. *  * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU Lesser General Public License for more details. *  * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */package org.openscience.cdk;import java.util.Collection;import java.util.Hashtable;import java.util.Iterator;import org.openscience.cdk.interfaces.IAtom;import org.openscience.cdk.interfaces.IMonomer;import org.openscience.cdk.interfaces.IStrand;/** * A Strand is an AtomContainer which stores additional strand specific * informations for a group of Atoms. * * @cdk.module  data * @cdk.created 2004-12-20 * @author      Martin Eklund <martin.eklund@farmbio.uu.se> * @author      Ola Spjuth <ola.spjuth@farmbio.uu.se> */public class Strand extends AtomContainer implements java.io.Serializable, IStrand{	/**     * Determines if a de-serialized object is compatible with this class.     *     * This value must only be changed if and only if the new version     * of this class is imcompatible with the old version. See Sun docs     * for <a href=http://java.sun.com/products/jdk/1.1/docs/guide     * /serialization/spec/version.doc.html>details</a>.	 */	private static final long serialVersionUID = 4200943086350928356L;	/** The list of all Monomers in the Strand.*/	private Hashtable monomers;	/** The name of this strand (e.g. A, B). */	private String strandName;	/** The type of this strand (e.g. PEPTIDE, DNA, RNA). */	private String strandType;		/**	 * Contructs a new Strand.	 */		public Strand () {		super();		// Stand stuff		monomers = new Hashtable();		Monomer oMonomer = new Monomer();		oMonomer.setMonomerName("");		oMonomer.setMonomerType("UNKNOWN");		monomers.put("", oMonomer);                strandName = "";	}		/**	 * Retrieve the strand name.	 *	 * @return The name of the Strand object	 * @see #setStrandName	 */	public String getStrandName() {		return strandName;	}		/**	 * Retrieve the strand type.	 *	 * @return The type of the Strand object	 * @see #setStrandType	 */	public String getStrandType() {		return strandType;	}		/**	 * Set the name of the Strand object.	 *	 * @param cStrandName  The new name for this strand	 * @see #getStrandName	 */	public void setStrandName(String cStrandName) {		strandName = cStrandName;	}		/**	 * Set the type of the Strand object.	 *	 * @param cStrandType  The new type for this strand	 * @see #getStrandType	 */	public void setStrandType(String cStrandType) {		strandType = cStrandType;	}		/**	 *	 * Adds the atom oAtom without specifying a Monomer or a Strand. Therefore the	 * atom gets added to a Monomer of type UNKNOWN in a Strand of type UNKNOWN.	 *	 * @param oAtom  The atom to add	 *	 */	public void addAtom(IAtom oAtom) {		addAtom(oAtom, getMonomer(""));	}		/**	 *	 * Adds the atom oAtom to a specific Monomer.	 *	 * @param oAtom  The atom to add	 * @param oMonomer  The monomer the atom belongs to	 *	 */	public void addAtom(IAtom oAtom, IMonomer oMonomer) {				int atomCount = super.getAtomCount();				// Add atom to AtomContainer		super.addAtom(oAtom);		if(atomCount != super.getAtomCount()) { // ok, super did not yet contain the atom						if (oMonomer == null) {				oMonomer = getMonomer("");			}						oMonomer.addAtom(oAtom);			if (! monomers.containsKey(oMonomer.getMonomerName())) {				monomers.put(oMonomer.getMonomerName(), oMonomer);			}		}	}		/**	 *	 * Return the number of monomers present in the Strand.	 *	 * @return number of monomers	 *	 */	public int getMonomerCount() {		return monomers.size() - 1;	}		/**	 *	 * Retrieve a Monomer object by specifying its name.	 *	 * @param cName  The name of the monomer to look for	 * @return The Monomer object which was asked for	 *	 */	public IMonomer getMonomer(String cName) {	    return (Monomer)monomers.get(cName);	}		/**	 * Returns a collection of the names of all <code>Monomer</code>s in this	 * polymer.	 *	 * @return a <code>Collection</code> of all the monomer names.	 */	public Collection getMonomerNames() {		return monomers.keySet();	}		/**	 * 	 * Adds a <code>Monomer</code> to this <code>Strand</code>. All atoms and	 * bonds in the Monomer are added. NB: The <code>Monomer</code> will *not*	 * "automatically" be connected to the <code>Strand</code>. That has to be	 * done "manually" (as the "connection point" is not known). 	 * @param monomer	 */	/*public void addMonomer(Monomer monomer)	{		if (! monomers.contains(monomer.getMonomerName())) {			monomers.put(monomer.getMonomerName(), monomer);	// Adderas atomer etc? Nope!		}	}*/		/**	 * Removes a particular monomer, specified by its name.	 * 	 * @param name The name of the monomer to remove	 */	public void removeMonomer(String name)	{		if (monomers.containsKey(name))	{			Monomer monomer = (Monomer)monomers.get(name);			this.remove(monomer);			monomers.remove(name);		}	}		/**	 * Returns a hashtable containing the monomers in the strand.	 *	 * @return hashtable containing the monomers in the strand.	 */	public Hashtable getMonomers()	{		return monomers;	}        public String toString() {        StringBuffer stringContent = new StringBuffer(32);        stringContent.append("Strand(");        stringContent.append(this.hashCode());        stringContent.append(", N:").append(getStrandName());        stringContent.append(", T:").append(getStrandType()).append(", ");        stringContent.append(super.toString());        stringContent.append(')');        return stringContent.toString();    }        public Object clone() throws CloneNotSupportedException {        Strand clone = (Strand)super.clone();        clone.monomers.clear();        for (Iterator iter = clone.getMonomerNames().iterator(); iter.hasNext();) {        	Monomer monomerClone = (Monomer)(clone.getMonomer(iter.next().toString()).clone());        	java.util.Iterator atoms = monomerClone.atoms();            while (atoms.hasNext()) {            	clone.addAtom((IAtom)atoms.next(), monomerClone);            }        }        return clone;    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久一卡二卡| 久久久亚洲国产美女国产盗摄 | 精品福利在线导航| 99re这里都是精品| 青青青爽久久午夜综合久久午夜| 中文字幕第一区综合| 欧美一区二区三区在线看 | 欧美一区2区视频在线观看| 国产成人精品综合在线观看| 日韩精品亚洲专区| 亚洲免费观看在线观看| 欧美激情一区二区在线| 欧美大片顶级少妇| 欧美日本国产视频| 91麻豆产精品久久久久久 | 在线观看视频一区| 成人福利电影精品一区二区在线观看| 五月婷婷久久综合| 一区二区欧美国产| 国产精品欧美一级免费| 久久综合久久99| 欧美一区二区高清| 欧美麻豆精品久久久久久| 91免费小视频| www.视频一区| av激情亚洲男人天堂| 国产成人免费在线观看| 蜜臀av一级做a爰片久久| 亚洲一级不卡视频| 一级日本不卡的影视| 综合婷婷亚洲小说| 中文字幕在线观看不卡| 久久久国产精品午夜一区ai换脸| 欧美sm美女调教| 日韩视频在线一区二区| 欧美二区三区91| 3d动漫精品啪啪一区二区竹菊| 91福利国产精品| 欧美三级电影在线看| 欧美日韩国产天堂| 在线成人免费视频| 欧美一级日韩免费不卡| 日韩一区二区电影在线| 日韩精品专区在线影院观看| 精品国产伦一区二区三区观看体验| 日韩精品中文字幕一区| 久久一区二区三区四区| 国产亚洲一区二区三区在线观看 | 精品免费国产一区二区三区四区| 日韩一级高清毛片| 亚洲国产精品自拍| 亚洲人一二三区| 亚洲一二三区视频在线观看| 亚洲高清久久久| 日韩精品五月天| 免费人成黄页网站在线一区二区| 日韩电影网1区2区| 久久99久久精品欧美| 国产伦理精品不卡| 成人h版在线观看| 欧美四级电影网| 日韩亚洲欧美一区二区三区| 精品对白一区国产伦| 国产精品久久久久一区| 亚洲一区二区三区四区五区黄| 婷婷夜色潮精品综合在线| 久久机这里只有精品| 成人激情文学综合网| 色88888久久久久久影院按摩| 欧美卡1卡2卡| 久久精品一区二区三区四区| 亚洲青青青在线视频| 日韩av高清在线观看| 国产成人精品午夜视频免费| 色综合久久88色综合天天6| 91精品国产91热久久久做人人| 亚洲精品在线一区二区| 国产精品久线观看视频| 日韩精品亚洲专区| 国产99精品视频| 91精品国产综合久久香蕉麻豆| 国产午夜一区二区三区| 亚洲成人精品在线观看| 国产一区二区三区四区五区入口 | 欧美成人vps| 亚洲视频一二三| 看片网站欧美日韩| 一本色道久久加勒比精品| 欧美一卡2卡三卡4卡5免费| 国产欧美精品日韩区二区麻豆天美| 一区二区久久久| 国产综合一区二区| 91福利区一区二区三区| 国产日韩精品久久久| 日韩精品一级二级| 一本久道久久综合中文字幕 | 国产精品午夜电影| 日韩高清中文字幕一区| 成人黄色777网| 日韩一级黄色大片| 一区二区三区美女| 从欧美一区二区三区| 欧美一区二区在线观看| 一区二区三区在线影院| 国产高清久久久| 欧美一区二区三区免费大片 | 美国十次综合导航| 色综合天天综合色综合av| 久久久亚洲高清| 日本特黄久久久高潮| 在线观看日产精品| 99国产精品国产精品久久| 欧美精三区欧美精三区| 亚洲欧美在线视频观看| 国产精品亚洲综合一区在线观看| 91麻豆精品国产91久久久资源速度 | 日韩区在线观看| 亚洲午夜电影网| 91视频在线看| 亚洲情趣在线观看| 99久久免费国产| 国产清纯美女被跳蛋高潮一区二区久久w | 亚洲一区二区三区不卡国产欧美| 成人免费视频视频在线观看免费| 日韩精品一区二区三区在线| 日韩综合在线视频| 欧美日韩一级大片网址| 亚洲综合在线免费观看| 91在线播放网址| 亚洲日本va午夜在线影院| 91免费看视频| 一区二区三区在线看| 色婷婷综合激情| 亚洲免费av高清| 日本韩国欧美一区二区三区| 国产精品久久精品日日| www..com久久爱| 日韩美女久久久| 日本电影亚洲天堂一区| 一级精品视频在线观看宜春院| 91激情五月电影| 亚洲国产成人av网| 欧美一级在线免费| 麻豆成人久久精品二区三区小说| 日韩一区二区免费在线观看| 琪琪久久久久日韩精品| 日韩欧美资源站| 国内精品国产成人国产三级粉色| 久久视频一区二区| 成人黄色av电影| 亚洲在线视频网站| 欧美一区二区三区思思人| 裸体健美xxxx欧美裸体表演| 26uuu国产电影一区二区| 国产丶欧美丶日本不卡视频| 国产精品国产自产拍在线| 99久久er热在这里只有精品15| 亚洲精品乱码久久久久久久久 | 久久久国产午夜精品| 成人污污视频在线观看| 亚洲乱码一区二区三区在线观看| 欧美亚洲免费在线一区| 日本中文字幕一区二区视频| 久久一夜天堂av一区二区三区| 成人国产电影网| 亚洲va国产天堂va久久en| 欧美成人精品福利| 99麻豆久久久国产精品免费| 午夜免费久久看| 久久久久久久电影| 在线亚洲免费视频| 国产在线精品一区二区不卡了| 国产精品女人毛片| 欧美日本国产视频| 国产福利一区在线| 国产成人免费视频网站| 国产在线视频不卡二| 国产精品第五页| 欧美日韩黄色一区二区| 国产美女在线观看一区| 亚洲人成网站色在线观看| 欧美一区二区三区在线看| 成人av电影免费观看| 麻豆成人在线观看| 一区av在线播放| 中文字幕不卡在线| 欧美一区二区在线看| 91视频免费看| 国产一区二区在线看| 午夜免费欧美电影| 国产精品久久久久久久岛一牛影视| 欧美日韩三级视频| 不卡欧美aaaaa| 捆绑变态av一区二区三区| 一区二区三区精密机械公司| 国产日韩欧美激情| 日韩欧美激情四射| 欧美日韩国产不卡| 91视频xxxx| 成人激情小说网站|