etomica.atom.iterator
Class AtomIteratorLeafFilteredType
java.lang.Object
etomica.atom.iterator.AtomIteratorArrayListSimple
etomica.atom.iterator.AtomIteratorLeafAtoms
etomica.atom.iterator.AtomIteratorLeafFilteredType
- All Implemented Interfaces:
- AtomIterator, AtomIteratorBoxDependent, AtomLeafsetIterator, AtomsetIterator, AtomsetIteratorBoxDependent, Serializable
public class AtomIteratorLeafFilteredType
- extends AtomIteratorLeafAtoms
- See Also:
- Serialized Form
|
Method Summary |
IAtomList |
next()
Same as nextAtom(). |
IAtom |
nextAtom()
Returns the next iterate and advances the iterator. |
int |
size()
Returns the number of iterates that would be given by this iterator
if reset with the current list. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filteredType
protected final IAtomType filteredType
AtomIteratorLeafFilteredType
public AtomIteratorLeafFilteredType(IBox box,
IAtomType type)
nextAtom
public IAtom nextAtom()
- Description copied from class:
AtomIteratorArrayListSimple
- Returns the next iterate and advances the iterator.
- Specified by:
nextAtom in interface AtomIterator- Overrides:
nextAtom in class AtomIteratorArrayListSimple
next
public IAtomList next()
- Description copied from class:
AtomIteratorArrayListSimple
- Same as nextAtom().
- Specified by:
next in interface AtomLeafsetIterator- Overrides:
next in class AtomIteratorArrayListSimple
size
public int size()
- Description copied from class:
AtomIteratorArrayListSimple
- Returns the number of iterates that would be given by this iterator
if reset with the current list.
- Specified by:
size in interface AtomsetIterator- Overrides:
size in class AtomIteratorArrayListSimple