|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An immutable
group of GammaSequences. Any GammaSequences may be
present, but null is disallowed. GammaSequences from
different Molecules may or not be present, depending on
implementation.
GammaSequenceCollection 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 |
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. |
int |
countGammaSequences()
Returns the number of GammaSequences 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. |
int |
getGammaSequenceIndex(GammaSequence sequence)
Returns the zero-based index of the specified GammaSequence. |
GammaSequenceIterator |
iterateGammaSequences()
Returns an iterator over all GammaSequences in this collection. |
GammaSequence[] |
toGammaSequenceArray()
Returns a copy of the GammaSequences contained in this collection as an array. |
| Method Detail |
public boolean containsGammaSequence(GammaSequence sequence)
true if the specified GammaSequence is contained in this
collection, and false otherwise.
sequence - the PaddleWheel
true if contained, false otherwisepublic int countGammaSequences()
GammaSequences contained in this collection.
public int getGammaSequenceIndex(GammaSequence sequence)
GammaSequence.
sequence - the GammaSequence
sequencepublic GammaSequence getGammaSequence(int index)
GammaSequence located at the specified zero-based index.
index - the index
GammaSequence 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 GammaSequences
public GammaSequence getGammaSequence(Atom source,
Atom target)
GammaSequence having source and
target axis Atoms.
source - the source Atomtarget - the target Atom
NoSuchGammaSequenceException - if the GammaSequence could not be found
public boolean containsGammaSequence(Atom source,
Atom target)
true if a GammaSequence containing an axis
with source as its source and target as its target
can be found, or false otherwise.
source - the axis source Atomtarget - the axid target Atom
public GammaSequenceIterator iterateGammaSequences()
GammaSequences in this collection.
GammaSequences in this collectionpublic GammaSequence[] toGammaSequenceArray()
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||