etomica.atom.iterator
Class ApiLeafAtoms
java.lang.Object
etomica.atom.iterator.ApiIntraArrayList
etomica.atom.iterator.ApiLeafAtoms
- All Implemented Interfaces:
- AtomLeafsetIterator, AtomsetIterator, AtomsetIteratorBoxDependent, Serializable
public class ApiLeafAtoms
- extends ApiIntraArrayList
- implements AtomsetIteratorBoxDependent
Iterator that returns all pairs that can be formed from all leaf atoms of a
given box.
- See Also:
- Serialized Form
|
Constructor Summary |
ApiLeafAtoms()
Creates new pair iterator that requires reset() before beginning
iteration. |
|
Method Summary |
void |
setBox(IBox box)
Conditions iterator to return all leaf-atom pairs from the given box. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApiLeafAtoms
public ApiLeafAtoms()
- Creates new pair iterator that requires reset() before beginning
iteration.
setBox
public void setBox(IBox box)
- Conditions iterator to return all leaf-atom pairs from the given box.
- Specified by:
setBox in interface AtomsetIteratorBoxDependent
- Throws:
a - NullPointerException if the Box is null