public interface IQuery
Modifier and Type | Method and Description |
---|---|
int |
countEdges()
Returns edge count.
|
int |
countNodes()
Returns node count.
|
java.lang.Iterable<IEdge> |
edges()
Returns edges of the query.
|
org.openscience.cdk.interfaces.IAtom |
getAtom(INode node)
Returns an atom associated with this node.
|
IEdge |
getEdge(INode source,
INode target)
Returns an edge associated between two nodes.
|
IEdge |
getEdge(int index)
Returns an edge of the query mol at a given position.
|
INode |
getNode(int index)
Returns a node of the query mol at a given position.
|
java.lang.Iterable<INode> |
nodes()
Returns nodes of the query.
|
java.lang.Iterable<INode> nodes()
INode getNode(int index)
index
- at position.java.lang.Iterable<IEdge> edges()
IEdge getEdge(int index)
index
- at position.org.openscience.cdk.interfaces.IAtom getAtom(INode node)
node
- get Atom of this node.IEdge getEdge(INode source, INode target)
source
- get an between source.target
- and target.int countEdges()
int countNodes()