etomica.nbr
Class CriterionBondedSimple
java.lang.Object
etomica.nbr.CriterionAdapter
etomica.nbr.CriterionBondedSimple
- All Implemented Interfaces:
- NeighborCriterion, Serializable
public class CriterionBondedSimple
- extends CriterionAdapter
- See Also:
- Serialized Form
|
Method Summary |
boolean |
accept(IAtomList pair)
Implementation of this method should introduce new criterion and return
true if pair meets this criterion and that of the wrapped
NeighborCriterion. |
boolean |
isBonded()
|
void |
setBonded(boolean b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CriterionBondedSimple
public CriterionBondedSimple(NeighborCriterion criterion)
setBonded
public void setBonded(boolean b)
isBonded
public boolean isBonded()
accept
public boolean accept(IAtomList pair)
- Description copied from class:
CriterionAdapter
- Implementation of this method should introduce new criterion and return
true if pair meets this criterion and that of the wrapped
NeighborCriterion.
- Specified by:
accept in interface NeighborCriterion- Specified by:
accept in class CriterionAdapter