| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchemaxon.struc.CEdge
Edge in a chemical graph.
CGraph, 
Serialized Form| Field Summary | |
protected  CNode | 
node1
Node at one end of the edge.  | 
protected  CNode | 
node2
Node at the other end of the edge.  | 
| Constructor Summary | |
CEdge(CNode node1,
      CNode node2)
Create an edge between two nodes.  | 
|
| Method Summary | |
 java.lang.Object | 
clone()
Clones this edge.  | 
 boolean | 
equals(java.lang.Object obj)
Two edges equal if their endpoints are the same.  | 
protected  java.lang.Object | 
getLock()
Gets lock object for synchronization.  | 
 CNode | 
getNode1()
Gets the first endpoint.  | 
 CNode | 
getNode2()
Gets the second endpoint.  | 
 CNode | 
getOtherNode(CNode node)
Gets the other end of the edge.  | 
 CGraph | 
getParent()
Gets the parent graph.  | 
 void | 
swap()
Change orientation.  | 
 java.lang.String | 
toString()
Overrides Object.toString() to ease debugging.  | 
| Methods inherited from class java.lang.Object | 
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
protected transient CNode node1
protected transient CNode node2
| Constructor Detail | 
public CEdge(CNode node1,
             CNode node2)
node1 - the first nodenode2 - the second node| Method Detail | 
public final CNode getNode1()
public final CNode getNode2()
public final CNode getOtherNode(CNode node)
node - one of the edge endpoints
public final CGraph getParent()
public void swap()
public final boolean equals(java.lang.Object obj)
obj - the other object
public java.lang.Object clone()
public java.lang.String toString()
@', and the unsigned
 hexadecimal representation of the hash code of the object.
protected final java.lang.Object getLock()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||