|
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.collection.BasicPaddleWheelCollection
A default implementation of the PaddleWheelCollection interface backed
by an ArraySequence
| Constructor Summary | |
BasicPaddleWheelCollection()
Constructs an empty, fully functional BasicPaddleWheelCollection. |
|
BasicPaddleWheelCollection(java.util.Collection wheels)
Constructs a BasicPaddleWheelCollection from the elements contained
in wheels. |
|
BasicPaddleWheelCollection(PaddleWheel[] wheels)
Constructs a BasicPaddleWheelCollection from the elements contained
in wheels. |
|
| Method Summary | |
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 |
countPaddleWheels()
Returns the number of PaddleWheels contained in this collection. |
PaddleWheel |
getPaddleWheel(Atom source,
Atom target)
Returns the PaddleWheel containing an axis that consists of
source and target. |
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. |
PaddleWheelIterator |
iteratePaddleWheels()
Returns an iterator over all PaddleWheels in this collection. |
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 BasicPaddleWheelCollection()
BasicPaddleWheelCollection.
public BasicPaddleWheelCollection(java.util.Collection wheels)
BasicPaddleWheelCollection from the elements contained
in wheels.
wheels - the collection from which to get PaddleWheels
java.lang.IllegalArgumentException - if wheels contains Objects that
do not implement PaddleWheel
java.lang.NullPointerException - if wheels contains nullpublic BasicPaddleWheelCollection(PaddleWheel[] wheels)
BasicPaddleWheelCollection from the elements contained
in wheels.
wheels - the array from which to get PaddleWheels
java.lang.IllegalArgumentException - if wheels contains Objects that
do not implement PaddleWheel
java.lang.NullPointerException - if wheels contains null| Method Detail |
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 invalidpublic PaddleWheelIterator iteratePaddleWheels()
PaddleWheelCollectionPaddleWheels in this collection.
iteratePaddleWheels in interface PaddleWheelCollectionPaddleWheels in this collectionpublic PaddleWheel[] toPaddleWheelArray()
PaddleWheelCollection
toPaddleWheelArray in interface PaddleWheelCollection
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 endpoints
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||