Package org.openscience.cdk.geometry.cip
Class VisitedAtoms
- java.lang.Object
-
- org.openscience.cdk.geometry.cip.VisitedAtoms
-
-
Constructor Summary
Constructors Constructor Description VisitedAtoms()Creates a new empty list of visitedIAtoms.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisVisited(IAtom atom)Returns true if the given atom already has been visited.voidvisited(VisitedAtoms visitedAtoms)Adds all atoms from thevisitedAtomslist to the current list.voidvisited(IAtom atom)Marks the given atom as visited.
-
-
-
Constructor Detail
-
VisitedAtoms
public VisitedAtoms()
Creates a new empty list of visitedIAtoms.
-
-
Method Detail
-
isVisited
public boolean isVisited(IAtom atom)
Returns true if the given atom already has been visited.
-
visited
public void visited(IAtom atom)
Marks the given atom as visited.- Parameters:
atom-IAtomthat is now marked as visited
-
visited
public void visited(VisitedAtoms visitedAtoms)
Adds all atoms from thevisitedAtomslist to the current list.- Parameters:
visitedAtoms- theVisitedAtomsfrom which all atoms are added
-
-