PhotonAn extension (subclass) to Wave adding an energy property. I don't really want to start modelling components of the universe, so perhaps this could be given a different name. Rather like Wave I just want a 'placeholder' that people can use as they see fit (ie, wavelength, frequency or energy). A different name (Jon's DataModelFravergy ?) might be more appropriate. - MCHInterface
ImplementationA trivial extra method getEnergy() that does the appropriate multiplication from the wavelength/frequency of the Wave superclass. -- MartinHill - 21 May 2004 |
PhotonAn extension (subclass) to Wave adding an energy property. | ||||||||
Changed: | ||||||||
< < | I don't really want to start modelling components of the universe, so perhaps this could be given a different name. Rather like Wave I just want a 'placeholder' that people can use as they see fit (ie, wavelength, frequency or energy). A different name might be more appropriate. - MCH | |||||||
> > | I don't really want to start modelling components of the universe, so perhaps this could be given a different name. Rather like Wave I just want a 'placeholder' that people can use as they see fit (ie, wavelength, frequency or energy). A different name (Jon's DataModelFravergy ?) might be more appropriate. - MCH | |||||||
Interface
ImplementationA trivial extra method getEnergy() that does the appropriate multiplication from the wavelength/frequency of the Wave superclass. -- MartinHill - 21 May 2004<--
|
PhotonAn extension (subclass) to Wave adding an energy property. I don't really want to start modelling components of the universe, so perhaps this could be given a different name. Rather like Wave I just want a 'placeholder' that people can use as they see fit (ie, wavelength, frequency or energy). A different name might be more appropriate. - MCHInterface
ImplementationA trivial extra method getEnergy() that does the appropriate multiplication from the wavelength/frequency of the Wave superclass. -- MartinHill - 21 May 2004<--
|