|
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 collection of AtomicSymbols. Any AtomicSymbol may
be present, but null is disallowed.
| Method Summary | |
boolean |
containsAtomicSymbol(AtomicSymbol symbol)
Returns true if the specified AtomicSymbol is contained in this
collection, and false otherwise. |
int |
countAtomicSymbols()
Returns the number of AtomicSymbols contained in this collection. |
AtomicSymbol |
getAtomicSymbol(int index)
Returns the AtomicSymbol located at the specified zero-based index. |
int |
getAtomicSymbolIndex(AtomicSymbol symbol)
Returns the zero-based index of the specified AtomicSymbol. |
AtomicSymbolIterator |
iterateAtomicSymbols()
Returns an iterator over all AtomicSymbols in this collection. |
AtomicSymbol[] |
toAtomicSymbolArray()
Returns a copy of the AtomicSymbols contained in this collection as an array. |
| Method Detail |
public boolean containsAtomicSymbol(AtomicSymbol symbol)
true if the specified AtomicSymbol is contained in this
collection, and false otherwise.
symbol - the AtomicSymbol
true if contained, false otherwisepublic int countAtomicSymbols()
AtomicSymbols contained in this collection.
public int getAtomicSymbolIndex(AtomicSymbol symbol)
AtomicSymbol.
symbol - the AtomicSymbol
symbolpublic AtomicSymbol getAtomicSymbol(int index)
AtomicSymbol located at the specified zero-based index.
index - the index
AtomicSymbol 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 AtomicSymbolspublic AtomicSymbolIterator iterateAtomicSymbols()
AtomicSymbols in this collection.
AtomicSymbols in this collectionpublic AtomicSymbol[] toAtomicSymbolArray()
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||