de.uniks.networkparser.calculator.RegCalculator.class Maven / Gradle / Ivy
???? 4.
[ ? ?
? . ? . ? ?
?
. ? ?
? ?
? ?
? ?
? ?
? ?
? ?
? H ?
?
V ? ? ?
. ? ?
? ?
? ?
?
?
?
?
?
? ?
?
?
?
?
?
?
? ? ? ?
E ?
E ? ? ?
? ?
5 ? ?
5 ?
E ?
E ? ?
5 ?
? ?
5 ?
?
. ?
5 ?
? ?
? ?
E ?
? ? H ? ?
E ?
V ?
V ???
5 ?
?
? H ? H ?
. ? ? ? ? ? ?
?
? ? LINE I
ConstantValue POINT POTENZ FUNCTION BACKETSOPEN Ljava/lang/String; BACKETSCLOSE operators Ljava/util/HashMap; Signature SLjava/util/HashMap; constants Ljava/util/Map; 5Ljava/util/Map; ()V Code LineNumberTable LocalVariableTable this 1Lde/uniks/networkparser/calculator/RegCalculator; withStandard 3()Lde/uniks/networkparser/calculator/RegCalculator; withOperator _(Lde/uniks/networkparser/calculator/Operator;)Lde/uniks/networkparser/calculator/RegCalculator; value ,Lde/uniks/networkparser/calculator/Operator;
withConstants F(Ljava/lang/String;D)Lde/uniks/networkparser/calculator/RegCalculator; tag D calculate &(Ljava/lang/String;)Ljava/lang/Double; formular values [Ljava/lang/Double;
StackMapTable ? calculateFields '(Ljava/lang/String;)[Ljava/lang/Double; pos sb Ljava/lang/StringBuilder; preOperator operator i prio tokener /Lde/uniks/networkparser/buffer/CharacterBuffer; parts Ljava/util/ArrayList; current Ljava/lang/Character; defaultMulti Z z result LocalVariableTypeTable )Ljava/util/ArrayList; ? ? ? ? ? ? ? addOperator Y(Ljava/lang/String;Lde/uniks/networkparser/buffer/CharacterBuffer;Ljava/util/ArrayList;)Z m(Ljava/lang/String;Lde/uniks/networkparser/buffer/CharacterBuffer;Ljava/util/ArrayList;)Z
SourceFile RegCalculator.java p q java/util/HashMap i j m n *de/uniks/networkparser/calculator/Addition y z *de/uniks/networkparser/calculator/Subtract *de/uniks/networkparser/calculator/Multiply *de/uniks/networkparser/calculator/Division (de/uniks/networkparser/calculator/Potenz %de/uniks/networkparser/calculator/Mod )de/uniks/networkparser/calculator/Minimum )de/uniks/networkparser/calculator/Maximum ? ? ? ? ? ? ? ? ? -de/uniks/networkparser/buffer/CharacterBuffer java/lang/CharSequence ? ? java/util/ArrayList ? ? ? ? ? ? ?
? /de/uniks/networkparser/calculator/RegCalculator ([{ )]} * java/lang/StringBuilder ( ) ? ? ? ? ? java/lang/String ! *de/uniks/networkparser/calculator/Operator" ? -# ? ?$%&'()* ? ?+ ? ? java/lang/Double,- java/lang/Object java/lang/Character getTag ()Ljava/lang/String; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; valueOf (D)Ljava/lang/Double;
java/util/Map with J([Ljava/lang/CharSequence;)Lde/uniks/networkparser/buffer/CharacterBuffer; getCurrentChar ()C length ()I charAt (I)C position (C)Ljava/lang/Character;
getStringPart >(Ljava/lang/Character;Ljava/lang/Character;)Ljava/lang/String; withStartPosition 2(I)Lde/uniks/networkparser/buffer/CharacterBuffer; withPosition 1(I)Lde/uniks/networkparser/buffer/BufferedBuffer; withBufferLength isEnd ()Z nextClean (Z)C charValue indexOf (I)I add (Ljava/lang/Object;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; substring (II)Ljava/lang/String; toString isDigit (C)Z -(Ljava/lang/Object;)Ljava/lang/StringBuilder; getChar size get (I)Ljava/lang/Object; (Ljava/lang/String;)I &(Ljava/lang/Object;)Ljava/lang/Object; getPriority equals doubleValue ()D (D)Ljava/lang/StringBuilder; set '(ILjava/lang/Object;)Ljava/lang/Object; remove getValues ([Ljava/lang/Double;)D containsKey skip ! . [ \ ] ^ _ ` ] ^ a b ] ^ c d ] ^ e f g ^ / h g ^ 2 i j k l m n k o p q r M *? *? Y? ? *? Y? ? ? s ( + t u v w x r ? b*? Y? ? W*? Y?
? W*? Y? ? W*?
Y? ? W*? Y? ? W*? Y? ? W*? Y? ? W*? Y? ? W*? s &