Documentation of 'jsci.physics.particles.Photon' Java class
Photon
jsci.physics.particles

Class Photon

  • All Implemented Interfaces:
    java.io.Serializable


    public final class Photon
    extends GaugeBoson
    A class representing photons.
    See Also:
    Serialized Form
    • Constructor Detail

      • Photon

        public Photon()
        Constructs a photon.
    • Method Detail

      • spin

        public int spin()
        Returns the number of 1/2 units of spin.
        Specified by:
        spin in class QuantumParticle
        Returns:
        2
      • charge

        public int charge()
        Returns the electric charge.
        Specified by:
        charge in class QuantumParticle
        Returns:
        0
      • toString

        public java.lang.String toString()
        Returns a string representing this class.
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.