★ wanayoo — archive 1999 http://sourceware.cygnus.com/kawa/api/gnu/math/BaseUnit.htmlNouvelle recherche | Portail wanayoo

gnu.math
Class BaseUnit

java.lang.Object
  |
  +--java.lang.Number
        |
        +--gnu.math.Numeric
              |
              +--gnu.math.Quantity
                    |
                    +--gnu.math.Unit
                          |
                          +--gnu.math.BaseUnit

public class BaseUnit
extends Unit

A primitive Unit of measurement (such as a meter).

See Also:
Serialized Form

Fields inherited from class gnu.math.Unit
cm, Empty, gram, hour, in, meter, minute, mm, pica, pt, radian, second, unitTable
 
Fields inherited from class gnu.math.Numeric
CEILING, FLOOR, ROUND, TRUNCATE
 
Constructor Summary
BaseUnit(java.lang.String name)
           
BaseUnit(java.lang.String name, java.lang.String dimension)
           
 
Method Summary
 int hashCode()
           
 Unit unit()
           
 
Methods inherited from class gnu.math.Unit
define, dimensions, div, doubleValue, isExact, isZero, lookup, mul, number, pow, power, sqrt, toString, toString, toString
 
Methods inherited from class gnu.math.Quantity
abs, add, add, addReversed, compare, compare, compareReversed, div, div, divReversed, doubleImagValue, im, imValue, make, make, make, mul, mul, mulReversed, neg, re, reValue, toString
 
Methods inherited from class gnu.math.Numeric
add, div_inv, equals, floatValue, geq, grt, intValue, longValue, mul_ident, sub
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseUnit

public BaseUnit(java.lang.String name)

BaseUnit

public BaseUnit(java.lang.String name,
                java.lang.String dimension)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Unit

unit

public Unit unit()
Overrides:
unit in class Unit