|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
PaddleWheelCollection represents an immutable
group of PaddleWheels. Any PaddlesWheels may be
present, but null is disallowed. PaddleWheels from
different Molecules may or not be present, depending on
implementation.
PaddleWheelCollection places the additional restriction on implementors
that all methods are consistent - they can be assumed to return the same results
throughout the Object's lifetime.
| 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. |
| Method Detail |
public boolean containsPaddleWheel(PaddleWheel paddleWheel)
true if the specified PaddleWheel is contained in this
collection, and false otherwise.
paddleWheel - the PaddleWheel
true if contained, false otherwisepublic int countPaddleWheels()
PaddleWheels contained in this collection.
public int getPaddleWheelIndex(PaddleWheel paddleWheel)
PaddleWheel.
paddleWheel - the PaddleWheel
paddleWheelpublic PaddleWheel getPaddleWheel(int index)
PaddleWheel located at the specified zero-based index.
index - the index
PaddleWheel at index, or null
if the index is invalid
java.lang.IndexOutOfBoundsException - if index is less than zero
or greater than or equal to the number of PaddleWheels
public boolean containsPaddleWheel(Atom source,
Atom target)
true if a PaddleWheel can be found containing
an axis with source as its source and target
as its target.
source - the source Atom of the axistarget - the target Atom of the axis
public PaddleWheel getPaddleWheel(Atom source,
Atom target)
PaddleWheel containing an axis that consists of
source and target.
source - the source Atomtarget - the target Atom
PaddleWheel accociated with the GammaSequence
having source and target as endpoints
NoSuchPaddleWheelException - if the PaddleWheel could not be foundpublic PaddleWheelIterator iteratePaddleWheels()
PaddleWheels in this collection.
PaddleWheels in this collectionpublic PaddleWheel[] toPaddleWheelArray()
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||