etomica.atom.iterator
Class AtomIteratorLeafFilteredType

java.lang.Object
  extended by etomica.atom.iterator.AtomIteratorArrayListSimple
      extended by etomica.atom.iterator.AtomIteratorLeafAtoms
          extended by etomica.atom.iterator.AtomIteratorLeafFilteredType
All Implemented Interfaces:
AtomIterator, AtomIteratorBoxDependent, AtomLeafsetIterator, AtomsetIterator, AtomsetIteratorBoxDependent, Serializable

public class AtomIteratorLeafFilteredType
extends AtomIteratorLeafAtoms

See Also:
Serialized Form

Field Summary
protected  IAtomType filteredType
           
 
Fields inherited from class etomica.atom.iterator.AtomIteratorArrayListSimple
atomSetSinglet, cursor, list
 
Constructor Summary
AtomIteratorLeafFilteredType(IBox box, IAtomType type)
           
 
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 etomica.atom.iterator.AtomIteratorLeafAtoms
setBox
 
Methods inherited from class etomica.atom.iterator.AtomIteratorArrayListSimple
nBody, reset, setList, unset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface etomica.atom.iterator.AtomsetIterator
nBody, reset, unset
 

Field Detail

filteredType

protected final IAtomType filteredType
Constructor Detail

AtomIteratorLeafFilteredType

public AtomIteratorLeafFilteredType(IBox box,
                                    IAtomType type)
Method Detail

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