target.classes.org.point85.uom.Quantity.class Maven / Gradle / Ivy
The newest version!
???? 73
K ? ? ?
? ?
? ?
?
?
? ?
? ? ?
?
?
?
? ? ?
/ ? ? ?
? ?
?
?
? ? ?
? ?
? ?
? ?
? ?
?
? ?
/ ?
/ ?
? ?
? ?
/ ?
/ ?
/ ? ?
+ ? ? ? ? ? ? ? ? ?
? ?
1 ?
1 ?
? ?
1 ?
1 ?
/ ?
/ ? ?
: ?
: ? ?
: ?
/ ? ?
K ?
: ?
?
/ ?
K ?
K ?
K ?
K
K
K amount D uom Lorg/point85/uom/UnitOfMeasure; ()V Code LineNumberTable LocalVariableTable this Lorg/point85/uom/Quantity; #(DLorg/point85/uom/UnitOfMeasure;)V 2(DLorg/point85/uom/Prefix;Lorg/point85/uom/Unit;)V prefix Lorg/point85/uom/Prefix; unit Lorg/point85/uom/Unit;
Exceptions 4(Ljava/lang/String;Lorg/point85/uom/UnitOfMeasure;)V Ljava/lang/String; (DLorg/point85/uom/Unit;)V +(Ljava/lang/String;Lorg/point85/uom/Unit;)V ;(DLorg/point85/uom/Prefix;Lorg/point85/uom/UnitOfMeasure;)V hashCode ()I equals (Ljava/lang/Object;)Z
otherQuantity other Ljava/lang/Object; answer Z
StackMapTable createAmount (Ljava/lang/String;)D value (Ljava/lang/Number;)D number Ljava/lang/Number; result getAmount ()D getUOM !()Lorg/point85/uom/UnitOfMeasure; subtract 6(Lorg/point85/uom/Quantity;)Lorg/point85/uom/Quantity;
toSubtract newAmount add toAdd divide toDivide newUOM (D)Lorg/point85/uom/Quantity; divisor multiply
toMultiply power (I)Lorg/point85/uom/Quantity; exponent I
multiplier invert ()Lorg/point85/uom/Quantity; convert ;(Lorg/point85/uom/UnitOfMeasure;)Lorg/point85/uom/Quantity; toUOM
thisOffset targetOffset offsetAmount "(Ljava/util/List;)Ljava/util/List; converted bigAmount Ljava/math/BigDecimal; intValue intDouble fractDouble i
toMeasures Ljava/util/List;
quantities quantityLeft LocalVariableTypeTable 1Ljava/util/List; ,Ljava/util/List; Signature _(Ljava/util/List;)Ljava/util/List; convertToPowerProduct Z(Lorg/point85/uom/UnitOfMeasure;Lorg/point85/uom/UnitOfMeasure;)Lorg/point85/uom/Quantity; uom1 uom2 convertToPower 2(Lorg/point85/uom/Unit;)Lorg/point85/uom/Quantity; J(Lorg/point85/uom/Prefix;Lorg/point85/uom/Unit;)Lorg/point85/uom/Quantity; toString ()Ljava/lang/String; sb Ljava/lang/StringBuilder; compare (Lorg/point85/uom/Quantity;)I toCompare classify setDescription (Ljava/lang/String;)V getDescription setName getName setSymbol getSymbol
SourceFile
Quantity.java P Q L M N O v P W m n v
u java/lang/Object t u
v w org/point85/uom/Quantity e f java/lang/Exception amount.cannot.be.null P ? u java/lang/Double java/math/BigInteger java/lang/Float java/lang/Long java/lang/Integer ? d java/lang/Short ? ? divisor.cannot.be.zero ~ ? ? w!"# u java/util/ArrayList$ d%& org/point85/uom/UnitOfMeasure | f java/math/BigDecimal'() x*+,- java/lang/StringBuilder./ , [.0 ? ? ] 12 ? w ? ? ? ? ? ? ? ? ? ? ? ? org/point85/uom/Symbolic java/util/List !org/point85/uom/MeasurementSystem getSystem %()Lorg/point85/uom/MeasurementSystem; O(Lorg/point85/uom/Prefix;Lorg/point85/uom/Unit;)Lorg/point85/uom/UnitOfMeasure; 7(Lorg/point85/uom/Unit;)Lorg/point85/uom/UnitOfMeasure; org/point85/uom/Prefix getFactor valueOf (D)Ljava/lang/Double; java/util/Objects hash ([Ljava/lang/Object;)I
getMessage &(Ljava/lang/String;)Ljava/lang/String; &(Ljava/lang/String;)Ljava/lang/Double; doubleValue
floatValue ()F longValue ()J
shortValue ()S @(Lorg/point85/uom/UnitOfMeasure;)Lorg/point85/uom/UnitOfMeasure; java/lang/Math pow (DD)D createPowerUOM A(Lorg/point85/uom/UnitOfMeasure;I)Lorg/point85/uom/UnitOfMeasure; getConversionFactor "(Lorg/point85/uom/UnitOfMeasure;)D getOffset size get (I)Ljava/lang/Object; java/lang/String (D)Ljava/lang/String; (I)Ljava/lang/String; .(Ljava/math/BigDecimal;)Ljava/math/BigDecimal; clonePowerProduct _(Lorg/point85/uom/UnitOfMeasure;Lorg/point85/uom/UnitOfMeasure;)Lorg/point85/uom/UnitOfMeasure;
clonePower append (D)Ljava/lang/StringBuilder; -(Ljava/lang/String;)Ljava/lang/StringBuilder; compareTo (Ljava/lang/Double;)I ! K L M N O $ P Q R 3 *? ? S
3 4 T U V P W R Y *? *'? *-? ? S <