target.classes.org.point85.uom.UnitOfMeasure.class Maven / Gradle / Ivy
The newest version!
???? 7?
???
? ? ? ? z? ??
?? ?
8?
?? ? ? ? ? ? ? ??
?
?
X? ?? ??
?
? ???
?
?
?
?
??
??
?
??
?
?
?
X?
?
?
?
??
???
???
2?
?T?
?
?? ? ?
8
7?
8?
|
|
\
O?TUU U UTTT !
\"
\#
$
%
&
'
(
)
8*
+
\,
\
-
.
/ 0
\12
?3 4
?5T6
7
8
9
?:
?;
< z=
z?>?
|@
ATB
C
DEF
?GH
??
?IJ
?K
?L
?M
zNO
7PQ
|RST
?U
V
W
XY
Z[
?\]^
_`a
?b
zc
zdB
X?
?e
?f
??
?g
??
?
hij Reducer InnerClasses PathParametersk MeasurementType MAX_SYMBOL_LENGTH I
ConstantValue MULT C ? DIV / POW ^ SQ ? CUBED ? LP ( RP ) ONE_CHAR 1 conversionRegistry Ljava/util/Map; Signature BLjava/util/Map;
scalingFactor D offset abscissaUnit Lorg/point85/uom/UnitOfMeasure; unit Lorg/point85/uom/Unit; unitType Lorg/point85/uom/UnitType; bridgeScalingFactor bridgeOffset bridgeAbscissaUnit
baseSymbol Ljava/lang/String; category uom1 uom2 exponent1 Ljava/lang/Integer; exponent2
primaryKey Ljava/lang/Long; version ()V Code LineNumberTable LocalVariableTable this S(Lorg/point85/uom/UnitType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V type name symbol description isValidExponent (Ljava/lang/Integer;)Z exponent
StackMapTable getKey ()Ljava/lang/Long; setKey (Ljava/lang/Long;)V key
getVersion ()Ljava/lang/Integer;
setVersion (Ljava/lang/Integer;)V setPowerProduct 5(Lorg/point85/uom/UnitOfMeasure;Ljava/lang/Integer;)V g(Lorg/point85/uom/UnitOfMeasure;Ljava/lang/Integer;Lorg/point85/uom/UnitOfMeasure;Ljava/lang/Integer;)V getExponent1 getExponent2 getUOM1 !()Lorg/point85/uom/UnitOfMeasure; getUOM2 getMeasurementType 1()Lorg/point85/uom/UnitOfMeasure$MeasurementType; /Lorg/point85/uom/UnitOfMeasure$MeasurementType;
clonePower @(Lorg/point85/uom/UnitOfMeasure;)Lorg/point85/uom/UnitOfMeasure; uom newUOM one
Exceptions clonePowerProduct _(Lorg/point85/uom/UnitOfMeasure;Lorg/point85/uom/UnitOfMeasure;)Lorg/point85/uom/UnitOfMeasure; msg invert Z
clearCache
getBaseUOM base getBridgeScalingFactor ()D getBridgeAbscissaUnit getBridgeOffset setBridgeConversion $(DLorg/point85/uom/UnitOfMeasure;D)V compareTo "(Lorg/point85/uom/UnitOfMeasure;)I other getEnumeration ()Lorg/point85/uom/Unit; setEnumeration (Lorg/point85/uom/Unit;)V getUnitType ()Lorg/point85/uom/UnitType; setUnitType (Lorg/point85/uom/UnitType;)V getCategory ()Ljava/lang/String; setCategory (Ljava/lang/String;)V getBridgeFactor "(Lorg/point85/uom/UnitOfMeasure;)D toUOM factor hashCode ()I equals (Ljava/lang/Object;)Z Ljava/lang/Object; otherUnit thisEnumeration otherEnumeration
thisSymbol otherSymbollm checkOffset "(Lorg/point85/uom/UnitOfMeasure;)V multiplyOrDivide A(Lorg/point85/uom/UnitOfMeasure;Z)Lorg/point85/uom/UnitOfMeasure; thisUOM thisPower
otherPower thisEntry Entry Ljava/util/Map$Entry; otherUOM
otherEntry
thisFactor otherFactor resultFactor thisReducer 'Lorg/point85/uom/UnitOfMeasure$Reducer; thisMap otherReducer otherMap resultMap
resultReducer result baseUOM LocalVariableTypeTable ILjava/util/Map$Entry; CLjava/util/Map;no multiply multiplicand divide divisor inverted
getBaseSymbol powerMap
getReducer )()Lorg/point85/uom/UnitOfMeasure$Reducer; reducer
setConversion #(DLorg/point85/uom/UnitOfMeasure;)V getOffset setOffset (D)V getScalingFactor setScalingFactor getAbscissaUnit setAbscissaUnit convertScalarToScalar
unitFactor targetUOM thisAbscissa convertUnit thisParameters .Lorg/point85/uom/UnitOfMeasure$PathParameters; targetParameters thisPathFactor thisBase targetPathFactor
targetBase bridgeFactor
checkTypes A(Lorg/point85/uom/UnitOfMeasure;Lorg/point85/uom/UnitOfMeasure;)V thisType
targetTypep getConversionFactor bd toType toEntry fromType fromUOM fromPower fromEntry cachedFactor Ljava/lang/Double; fromReducer toReducer fromMap toMap
fromFactor toFactor
matchCount scaling traversePath 0()Lorg/point85/uom/UnitOfMeasure$PathParameters; abscissa pathUOM
pathFactor
isTerminal ()Z toString sb Ljava/lang/StringBuilder; symbolBundle Ljava/util/ResourceBundle; enumeration uomOffsetq setPowerUnit getPowerExponent getPowerBase generateIntermediateSymbol generatePowerSymbol F(Lorg/point85/uom/UnitOfMeasure;Ljava/lang/Integer;)Ljava/lang/String; generateProductSymbol R(Lorg/point85/uom/UnitOfMeasure;Lorg/point85/uom/UnitOfMeasure;)Ljava/lang/String;
multiplier generateQuotientSymbol dividend setProductUnits
getMultiplier getMultiplicand setQuotientUnits getDividend
getDivisor getBaseUnitsOfMeasure ()Ljava/util/Map; E()Ljava/util/Map; power "(I)Lorg/point85/uom/UnitOfMeasure; classify uomBaseType unitValue uomBaseEntry unitTypeMap match uomType
uomBaseMap matchedType >Ljava/util/Map;r setDescription getDescription setName getName setSymbol getSymbol (Ljava/lang/Object;)I QLorg/point85/uom/Symbolic;Ljava/lang/Comparable;
SourceFile UnitOfMeasure.java NestMembers ? ? &java/util/concurrent/ConcurrentHashMap ? ? ? ? ? ?s ? ? ? default.category.texttuv ? ?w& ?x ? ? ? ? ? ? ? ? ? ? ? ?y ? ? ? ?z.{| ? ?} org/point85/uom/UnitOfMeasure!"#$? ?~?/0????? ????(?( incompatible.units?v java/lang/Object??? java/lang/Exception ?(;<? ?[&? ? ? ? ? ? ??&? ? ????ge???b offset.not.supported?& unit.cannot.be.null9:]^?? java/util/HashMap????????? java/util/Map$Entry ???? java/lang/Integer?????? %org/point85/uom/UnitOfMeasure$Reducer ?:???w?w???????.?&?&fdh:X ? ??: conversion.not.allowed?: ? ??:?0`m*????)*? ? must.be.same.as java/lang/Double?vw?.i*??? ,org/point85/uom/UnitOfMeasure$PathParameters ?? java/lang/StringBuilder?? unit.type.text?v???? , enum.text symbol.text conversion.text?? + base.text base.cannot.be.null ? ? ? ????????? multiplier.cannot.be.null multiplicand.cannot.be.null dividend.cannot.be.null divisor.cannot.be.null???????(?&?& org/point85/uom/Symbolic java/lang/Comparable -org/point85/uom/UnitOfMeasure$MeasurementType org/point85/uom/Unit java/lang/String
java/util/Map java/util/Iterator org/point85/uom/UnitType java/util/ResourceBundle [Lorg/point85/uom/UnitType; UNCLASSIFIED !org/point85/uom/MeasurementSystem
getUnitString &(Ljava/lang/String;)Ljava/lang/String; trim 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V SCALAR intValue QUOTIENT PRODUCT POWER getSystem %()Lorg/point85/uom/MeasurementSystem; getOne valueOf (I)Ljava/lang/Integer;
getMessage java/text/MessageFormat format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; clear 3(Ljava/lang/String;)Lorg/point85/uom/UnitOfMeasure; (Ljava/lang/String;)I java/util/Objects hash ([Ljava/lang/Object;)I (D)Ljava/lang/Double; (Ljava/lang/Double;)I getTerms entrySet ()Ljava/util/Set;
java/util/Set iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; getValue get &(Ljava/lang/Object;)Ljava/lang/Object; remove put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; setTerms (Ljava/util/Map;)V length buildBaseString explode unregisterUnit registerUnit containsKey
getPathFactor
getPathUOM UNITY doubleValue size java/lang/Math pow (DD)D B(Lorg/point85/uom/UnitOfMeasure;Lorg/point85/uom/UnitOfMeasure;D)V
getSymbols ()Ljava/util/ResourceBundle; getString append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; (D)Ljava/lang/String; java/lang/System currentTimeMillis ()J java/lang/Long toHexString (J)Ljava/lang/String; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; createPowerUOM A(Lorg/point85/uom/UnitOfMeasure;I)Lorg/point85/uom/UnitOfMeasure; values ()[Lorg/point85/uom/UnitType;
getTypeMap ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? N ? ? ? l **? *? Y? ? *? *? *? ? * ?
? ? ? ? k p s | ? ) ? ? * ? ? ? ? ? ? ?*,-? ?
*? Y? ? *? *? *? ? * ?
? *+? * ?
? ? ? &