Enum Class Energy

java.lang.Object
java.lang.Enum<Energy>
org.tquadrat.foundation.value.Energy
All Implemented Interfaces:
Serializable, Comparable<Energy>, Constable, Dimension, DimensionWithLinearConversion

@ClassVersion(sourceVersion="$Id: Energy.java 1195 2026-04-15 21:33:40Z tquadrat $") @API(status=STABLE, since="0.3.0") public enum Energy extends Enum<Energy> implements DimensionWithLinearConversion
The various instances of energy …
Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: Energy.java 1195 2026-04-15 21:33:40Z tquadrat $
Since:
0.3.0
UML Diagram
UML Diagram for "org.tquadrat.foundation.value.Energy"

UML Diagram for "org.tquadrat.foundation.value.Energy"

UML Diagram for "org.tquadrat.foundation.value.Energy"
  • Enum Constant Details

    • ELECTRONVOLT

      public static final Energy ELECTRONVOLT
      An electron volt.
    • ERG

      public static final Energy ERG
      An erg.
    • JOULE

      public static final Energy JOULE
      A Joule.
    • CALORIE

      public static final Energy CALORIE
      A calorie.
    • KILOJOULE

      public static final Energy KILOJOULE
      A kilo Joule.
    • BTU

      public static final Energy BTU
      A British Thermal Unit (BTU).
    • KILOCALORIE

      public static final Energy KILOCALORIE
      A kilo calorie.
    • KILOPONDMETER

      public static final Energy KILOPONDMETER
      A kilopond meter.
    • MEGAJOULE

      public static final Energy MEGAJOULE
      A Mega Joule.
    • KILOWATT_HOUR

      public static final Energy KILOWATT_HOUR
      A kilo Watt per hour.
    • KILOGRAM_TNT

      public static final Energy KILOGRAM_TNT

      The energy equivalent of one kg TNT. This is usually used to rate the power of (nuclear) bombs or other explosives.

    • GIGAJOULE

      public static final Energy GIGAJOULE
      A Giga Joule.
    • TERAJOULE

      public static final Energy TERAJOULE
      A Mega Joule.
    • KILOTON_TNT

      public static final Energy KILOTON_TNT

      The energy equivalent of one thousand tons of TNT. This is usually used to rate the power of (nuclear) bombs or other explosives.

    • MEGATON_TNT

      public static final Energy MEGATON_TNT

      The energy equivalent of one million tons of TNT. This is usually used to rate the power of (nuclear) bombs or other explosives.

    • QUAD

      public static final Energy QUAD
      A quad.
    • FOE

      public static final Energy FOE

      A foe (or a 'bethe').

      A foe is used to express the large amount of energy released by a supernova. An acronym for "[ten to the power of] fifty-one ergs", the term was introduced by Gerald E. Brown of Stony Brook University in his work with Hans Bethe, because "it came up often enough in our work".

      Without mentioning the foe, Steven Weinberg proposed in 2006 "a new unit called the bethe (B)" with the same value, to "replace" it.

      This unit of measure is convenient because a supernova typically releases about one foe of observable energy in a very short period (which can be measured in seconds).

    • BETHE

      public static final Energy BETHE

      A bethe.

      This is the same as foe.

  • Field Details

  • Constructor Details

    • Energy

      private Energy(BigDecimal factor, String unitSymbol)
      Creates a new Length instance, with a default precision of zero mantissa digits.
      Parameters:
      factor - The factor.
      unitSymbol - The unit symbol String.
    • Energy

      private Energy(BigDecimal factor, String unitSymbol, int precision)
      Creates a new Length instance.
      Parameters:
      factor - The factor.
      unitSymbol - The unit symbol String.
      precision - The default precision.
  • Method Details