|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.strbio.mol.Atom org.strbio.mol.AtomNode
public class AtomNode
Class to represent a node in a list of atoms.
Version 1.1, 4/16/98 - uses DlinkedList class, renamed from AtomList to AtomNode Version 1.0, 3/31/98 - original version
Atom
,
Molecule
,
Monomer
,
Residue
,
Protein
Field Summary | |
---|---|
AtomNode |
next
the next atom in the list |
AtomNode |
prev
the previous atom in the list |
Fields inherited from class org.strbio.mol.Atom |
---|
altLoc, coord, n, name, occupancy, tempFactor |
Constructor Summary | |
---|---|
AtomNode()
constructor sets next, prev to null |
|
AtomNode(Atom x)
when constructed from an Atom, it makes a new copy of the data in the Atom, but doesn't set next, prev. |
Method Summary | |
---|---|
DLinkedList.Node |
copyNode()
Return a node with a copy of the same atom. |
void |
insertNodeQuickly(AtomNode x)
Inserts another AtomNode in the linked list after this atom, without going through the DLinkedList routines. |
DLinkedList.Node |
next()
return the next AtomNode |
DLinkedList.Node |
prev()
return the previous AtomNode |
void |
removeQuickly()
Removes this atom from the linked list, without going through the DLinkedList routines. |
void |
setNext(DLinkedList.Node x)
set the next AtomNode |
void |
setPrev(DLinkedList.Node x)
set the previous AtomNode |
Methods inherited from class org.strbio.mol.Atom |
---|
bondAngle, dihedralAngle, distance, find4, find4, readPDB, rotate, transform, translate, writePDB, x, y, z |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public AtomNode next
public AtomNode prev
Constructor Detail |
---|
public AtomNode()
public AtomNode(Atom x)
Method Detail |
---|
public DLinkedList.Node copyNode()
copyNode
in interface DLinkedList.Node
public DLinkedList.Node next()
next
in interface DLinkedList.Node
public DLinkedList.Node prev()
prev
in interface DLinkedList.Node
public void setNext(DLinkedList.Node x)
setNext
in interface DLinkedList.Node
public void setPrev(DLinkedList.Node x)
setPrev
in interface DLinkedList.Node
public final void removeQuickly()
public final void insertNodeQuickly(AtomNode x)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |