IMoleculeList, java.lang.Iterable<IMolecule>, java.util.Collection<IMolecule>, java.util.List<IMolecule>public class AtomSetAllMolecules extends java.util.AbstractList<IMolecule> implements IMoleculeList
| Constructor | Description |
|---|---|
AtomSetAllMolecules() |
Constructs an empty list.
|
| Modifier and Type | Method | Description |
|---|---|---|
IMolecule |
get(int i) |
Returns the i-th molecule, with numbering beginning from 0.
|
void |
setMoleculeLists(IMoleculeList[] newMoleculeLists) |
Configures this list based on the given array of lists.
|
int |
size() |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, of, of, of, of, of, of, of, of, of, of, of, of, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArraypublic AtomSetAllMolecules()
public IMolecule get(int i)
IMoleculeListget in interface IMoleculeListget in interface java.util.List<IMolecule>get in class java.util.AbstractList<IMolecule>i - specification of the desired molecule.java.lang.IndexOutOfBoundsException - if i >= getMoleculeCount() or i < 0public int size()
size in interface java.util.Collection<IMolecule>size in interface IMoleculeListsize in interface java.util.List<IMolecule>size in class java.util.AbstractCollection<IMolecule>public void setMoleculeLists(IMoleculeList[] newMoleculeLists)
newMoleculeLists - lists of molecules that form this list.