The Octet Molecular Representation Framework v0.8.2

net.sf.octet.model
Class BasicElectron

java.lang.Object
  extended bynet.sf.octet.model.BasicElectron
All Implemented Interfaces:
Electron

public class BasicElectron
extends java.lang.Object
implements Electron

A default implementation of the Electron interface.

Author:
Richard Apodaca

Constructor Summary
BasicElectron(boolean spin)
          Constructs a fully functional BasicElectron with spin spin.
 
Method Summary
 boolean getSpin()
          Returns the spin of this electron, true for positive spin, and false for negative spin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicElectron

public BasicElectron(boolean spin)
Constructs a fully functional BasicElectron with spin spin.

Method Detail

getSpin

public boolean getSpin()
Description copied from interface: Electron
Returns the spin of this electron, true for positive spin, and false for negative spin.

Specified by:
getSpin in interface Electron
Returns:
the spin of this Electron

The Octet Molecular Representation Framework v0.8.2