Class Bond
java.lang.Object
org.episteme.natural.chemistry.Bond
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
A chemical bond between two atoms.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIs this atom part of the bond?getAtom1()getAtom2()getId()Returns the unique identifier of this entity.Bond length (distance between atoms).getOtherAtom(Atom atom) Returns the other atom in the bond.Returns the traits map for this entity.getType()toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Bond
-
Bond
-
-
Method Details
-
getId
Description copied from interface:IdentifiedReturns the unique identifier of this entity.- Specified by:
getIdin interfaceIdentified<Identification>- Returns:
- the identifier
-
getTraits
Description copied from interface:ComprehensiveIdentificationReturns the traits map for this entity.- Specified by:
getTraitsin interfaceCommented- Specified by:
getTraitsin interfaceComprehensiveIdentification- Returns:
- the traits map
-
getAtom1
-
getAtom2
-
getType
-
getLength
-
getOtherAtom
-
contains
Is this atom part of the bond? -
toString
-