|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.octet.model.BasicConformation
A default implementation of the Conformation interface.
| Constructor Summary | |
BasicConformation(PaddleWheelCollection wheels,
GammaSequenceCollection sequences)
Constructs a BasicConformation from wheels and sequences. |
|
| Method Summary | |
boolean |
containsGammaSequence(Atom source,
Atom target)
Returns true if a GammaSequence containing an axis
with source as its source and target as its target
can be found, or false otherwise. |
boolean |
containsGammaSequence(GammaSequence sequence)
Returns true if the specified GammaSequence is contained in this
collection, and false otherwise. |
boolean |
containsPaddleWheel(Atom source,
Atom target)
Returns true if a PaddleWheel can be found containing
an axis with source as its source and target
as its target. |
boolean |
containsPaddleWheel(PaddleWheel paddleWheel)
Returns true if the specified PaddleWheel is contained in this
collection, and false otherwise. |
int |
countGammaSequences()
Returns the number of GammaSequences contained in this collection. |
int |
countPaddleWheels()
Returns the number of PaddleWheels contained in this collection. |
GammaSequence |
getGammaSequence(Atom source,
Atom target)
Returns the GammaSequence having source and
target axis Atoms. |
GammaSequence |
getGammaSequence(int index)
Returns the GammaSequence located at the specified zero-based index. |
GammaSequence |
getGammaSequence(PaddleWheel wheel)
Returns the GammaSequence associated with the specified
PaddleWheel. |
int |
getGammaSequenceIndex(GammaSequence sequence)
Returns the zero-based index of the specified GammaSequence. |
static Conformation |
getNullInstance()
|
PaddleWheel |
getPaddleWheel(Atom source,
Atom target)
Returns the PaddleWheel containing an axis that consists of
source and target. |
PaddleWheel |
getPaddleWheel(GammaSequence sequence)
Returns the PaddleWheel associated with the specified
GammaSequence. |
PaddleWheel |
getPaddleWheel(int index)
Returns the PaddleWheel located at the specified zero-based index. |
int |
getPaddleWheelIndex(PaddleWheel paddleWheel)
Returns the zero-based index of the specified PaddleWheel. |
GammaSequenceIterator |
iterateGammaSequences()
Returns an iterator over all GammaSequences in this collection. |
PaddleWheelIterator |
iteratePaddleWheels()
Returns an iterator over all PaddleWheels in this collection. |
GammaSequence[] |
toGammaSequenceArray()
Returns a copy of the GammaSequences contained in this collection as an array. |
PaddleWheel[] |
toPaddleWheelArray()
Returns a copy of the PaddleWheels contained in this collection as an array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicConformation(PaddleWheelCollection wheels,
GammaSequenceCollection sequences)
BasicConformation from wheels and sequences.
wheels - the PaddleWheelCollection to be usedsequences - the GammaSequenceCollection to be used
IllegalRepresentationException - if the number of elements in wheels and
sequences differs| Method Detail |
public PaddleWheel getPaddleWheel(GammaSequence sequence)
ConformationPaddleWheel associated with the specified
GammaSequence.
getPaddleWheel in interface Conformationsequence - the GammaSequence to search
public GammaSequence getGammaSequence(PaddleWheel wheel)
ConformationGammaSequence associated with the specified
PaddleWheel.
getGammaSequence in interface Conformationwheel - the PaddleWheel to search
public boolean containsPaddleWheel(PaddleWheel paddleWheel)
PaddleWheelCollectiontrue if the specified PaddleWheel is contained in this
collection, and false otherwise.
containsPaddleWheel in interface PaddleWheelCollectionpaddleWheel - the PaddleWheel
true if contained, false otherwisepublic int countPaddleWheels()
PaddleWheelCollectionPaddleWheels contained in this collection.
countPaddleWheels in interface PaddleWheelCollectionpublic int getPaddleWheelIndex(PaddleWheel paddleWheel)
PaddleWheelCollectionPaddleWheel.
getPaddleWheelIndex in interface PaddleWheelCollectionpaddleWheel - the PaddleWheel
paddleWheelpublic PaddleWheel getPaddleWheel(int index)
PaddleWheelCollectionPaddleWheel located at the specified zero-based index.
getPaddleWheel in interface PaddleWheelCollectionindex - the index
PaddleWheel at index, or null
if the index is invalid
public boolean containsPaddleWheel(Atom source,
Atom target)
PaddleWheelCollectiontrue if a PaddleWheel can be found containing
an axis with source as its source and target
as its target.
containsPaddleWheel in interface PaddleWheelCollectionsource - the source Atom of the axistarget - the target Atom of the axis
public PaddleWheel getPaddleWheel(Atom source,
Atom target)
PaddleWheelCollectionPaddleWheel containing an axis that consists of
source and target.
getPaddleWheel in interface PaddleWheelCollectionsource - the source Atomtarget - the target Atom
PaddleWheel accociated with the GammaSequence
having source and target as endpointspublic PaddleWheelIterator iteratePaddleWheels()
PaddleWheelCollectionPaddleWheels in this collection.
iteratePaddleWheels in interface PaddleWheelCollectionPaddleWheels in this collectionpublic PaddleWheel[] toPaddleWheelArray()
PaddleWheelCollection
toPaddleWheelArray in interface PaddleWheelCollectionpublic boolean containsGammaSequence(GammaSequence sequence)
GammaSequenceCollectiontrue if the specified GammaSequence is contained in this
collection, and false otherwise.
containsGammaSequence in interface GammaSequenceCollectionsequence - the PaddleWheel
true if contained, false otherwisepublic int countGammaSequences()
GammaSequenceCollectionGammaSequences contained in this collection.
countGammaSequences in interface GammaSequenceCollectionpublic int getGammaSequenceIndex(GammaSequence sequence)
GammaSequenceCollectionGammaSequence.
getGammaSequenceIndex in interface GammaSequenceCollectionsequence - the GammaSequence
sequencepublic GammaSequence getGammaSequence(int index)
GammaSequenceCollectionGammaSequence located at the specified zero-based index.
getGammaSequence in interface GammaSequenceCollectionindex - the index
GammaSequence at index, or null
if the index is invalid
public GammaSequence getGammaSequence(Atom source,
Atom target)
GammaSequenceCollectionGammaSequence having source and
target axis Atoms.
getGammaSequence in interface GammaSequenceCollectionsource - the source Atomtarget - the target Atom
public boolean containsGammaSequence(Atom source,
Atom target)
GammaSequenceCollectiontrue if a GammaSequence containing an axis
with source as its source and target as its target
can be found, or false otherwise.
containsGammaSequence in interface GammaSequenceCollectionsource - the axis source Atomtarget - the axid target Atom
public GammaSequenceIterator iterateGammaSequences()
GammaSequenceCollectionGammaSequences in this collection.
iterateGammaSequences in interface GammaSequenceCollectionGammaSequences in this collectionpublic GammaSequence[] toGammaSequenceArray()
GammaSequenceCollection
toGammaSequenceArray in interface GammaSequenceCollectionpublic static Conformation getNullInstance()
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||