Documentation of 'visad.data.units.UnitPrefix' Java class
UnitPrefix
visad.data.units

Class UnitPrefix

  • All Implemented Interfaces:
    java.io.Serializable


    public class UnitPrefix
    extends java.lang.Object
    implements java.io.Serializable
    Class for representing unit prefixes.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      java.lang.String name
      The name of the prefix:
      double value
      The value of the prefix:
    • Constructor Summary

      Constructors 
      Constructor and Description
      UnitPrefix(java.lang.String name, double value)
      Construct.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        public final java.lang.String name
        The name of the prefix:
      • value

        public final double value
        The value of the prefix:
    • Constructor Detail

      • UnitPrefix

        public UnitPrefix(java.lang.String name,
                          double value)
        Construct.
        Parameters:
        name - The name of the prefix (e.g. "mega", "M").
        value - The value of the prefix (e.g. 1e6).
        Throws:
        java.lang.IllegalArgumentException - One of the arguments was null.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.