Enum UnitsPower

    • Enum Constant Detail

      • YOTTAWATT

        public static final UnitsPower YOTTAWATT
        yottawatt unit.
      • ZETTAWATT

        public static final UnitsPower ZETTAWATT
        zettawatt unit.
      • EXAWATT

        public static final UnitsPower EXAWATT
        exawatt unit.
      • PETAWATT

        public static final UnitsPower PETAWATT
        petawatt unit.
      • TERAWATT

        public static final UnitsPower TERAWATT
        terawatt unit.
      • GIGAWATT

        public static final UnitsPower GIGAWATT
        gigawatt unit.
      • MEGAWATT

        public static final UnitsPower MEGAWATT
        megawatt unit.
      • KILOWATT

        public static final UnitsPower KILOWATT
        kilowatt unit.
      • HECTOWATT

        public static final UnitsPower HECTOWATT
        hectowatt unit.
      • DECAWATT

        public static final UnitsPower DECAWATT
        decawatt unit.
      • WATT

        public static final UnitsPower WATT
        watt unit.
      • DECIWATT

        public static final UnitsPower DECIWATT
        deciwatt unit.
      • CENTIWATT

        public static final UnitsPower CENTIWATT
        centiwatt unit.
      • MILLIWATT

        public static final UnitsPower MILLIWATT
        milliwatt unit.
      • MICROWATT

        public static final UnitsPower MICROWATT
        microwatt unit.
      • NANOWATT

        public static final UnitsPower NANOWATT
        nanowatt unit.
      • PICOWATT

        public static final UnitsPower PICOWATT
        picowatt unit.
      • FEMTOWATT

        public static final UnitsPower FEMTOWATT
        femtowatt unit.
      • ATTOWATT

        public static final UnitsPower ATTOWATT
        attowatt unit.
      • ZEPTOWATT

        public static final UnitsPower ZEPTOWATT
        zeptowatt unit.
      • YOCTOWATT

        public static final UnitsPower YOCTOWATT
        yoctowatt unit.
    • Method Detail

      • values

        public static UnitsPower[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UnitsPower c : UnitsPower.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UnitsPower valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public String getValue()