public class MoleculeAtom extends AbstractNode<MoleculeAtom,Vector2D,Integer>
| Constructor and Description |
|---|
MoleculeAtom(int identifier) |
MoleculeAtom(int identifier,
Vector2D position) |
MoleculeAtom(int identifier,
Vector2D position,
Element element) |
| Modifier and Type | Method and Description |
|---|---|
MoleculeAtom |
getCopy() |
Element |
getElement() |
void |
setElement(Element element) |
String |
toString() |
addNeighbour, equals, getDegree, getIdentifier, getNeighbours, getPosition, hashCode, hasNeighbour, removeNeighbour, setIdentifier, setNeighbours, setPositionpublic MoleculeAtom(int identifier)
public MoleculeAtom(int identifier,
Vector2D position)
public Element getElement()
public void setElement(Element element)
public String toString()
toString in class AbstractNode<MoleculeAtom,Vector2D,Integer>public MoleculeAtom getCopy()
Copyright © 2018. All rights reserved.