AtomLeafsetIterator
, AtomsetIterator
, AtomsetIteratorBasisDependent
, AtomsetIteratorTargetable
public class ApiIntergroupCoupled extends ApiIntergroup
aiInner, aiOuter, atomSetSinglet, needSetupIterators, pair, targetAtom
Constructor | Description |
---|---|
ApiIntergroupCoupled() |
|
ApiIntergroupCoupled(AtomIteratorBasis outer,
AtomIteratorBasis inner) |
Modifier and Type | Method | Description |
---|---|---|
IAtomList |
next() |
Returns the next pair of atoms.
|
void |
reset() |
Resets the iterator to loop through its iterates again.
|
int |
size() |
Returns the number of pairs given by this iterator.
|
basisSize, getInnerIterator, getOuterIterator, haveTarget, nBody, setBasis, setTarget, setupIterators, unset
public ApiIntergroupCoupled()
public ApiIntergroupCoupled(AtomIteratorBasis outer, AtomIteratorBasis inner)
public int size()
size
in interface AtomsetIterator
size
in class ApiIntergroup
public IAtomList next()
next
in interface AtomLeafsetIterator
next
in class ApiIntergroup
public void reset()
AtomsetIterator
reset
in interface AtomsetIterator
reset
in class ApiIntergroup