public class org.bson.BsonDouble extends org.bson.BsonNumber implements java.lang.Comparable<org.bson.BsonDouble>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bson.BsonDouble
super_class: org.bson.BsonNumber
{
private final double value;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bson.BsonNumber.<init>:()V
1: aload 0
dload 1
putfield org.bson.BsonDouble.value:D
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/BsonDouble;
0 3 1 value D
MethodParameters:
Name Flags
value final
public int compareTo(org.bson.BsonDouble);
descriptor: (Lorg/bson/BsonDouble;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.BsonDouble.value:D
aload 1
getfield org.bson.BsonDouble.value:D
invokestatic java.lang.Double.compare:(DD)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonDouble;
0 1 1 o Lorg/bson/BsonDouble;
MethodParameters:
Name Flags
o final
public org.bson.BsonType getBsonType();
descriptor: ()Lorg/bson/BsonType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.bson.BsonType.DOUBLE:Lorg/bson/BsonType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonDouble;
public double getValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.BsonDouble.value:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonDouble;
public int intValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.BsonDouble.value:D
d2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonDouble;
public long longValue();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.BsonDouble.value:D
d2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonDouble;
public org.bson.types.Decimal128 decimal128Value();
descriptor: ()Lorg/bson/types/Decimal128;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.BsonDouble.value:D
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 2
1: getstatic org.bson.types.Decimal128.NaN:Lorg/bson/types/Decimal128;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bson.BsonDouble.value:D
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 6
3: aload 0
getfield org.bson.BsonDouble.value:D
dconst_0
dcmpl
ifle 4
getstatic org.bson.types.Decimal128.POSITIVE_INFINITY:Lorg/bson/types/Decimal128;
goto 5
StackMap locals:
StackMap stack:
4: getstatic org.bson.types.Decimal128.NEGATIVE_INFINITY:Lorg/bson/types/Decimal128;
StackMap locals:
StackMap stack: org.bson.types.Decimal128
5: areturn
6: StackMap locals:
StackMap stack:
new org.bson.types.Decimal128
dup
new java.math.BigDecimal
dup
aload 0
getfield org.bson.BsonDouble.value:D
invokespecial java.math.BigDecimal.<init>:(D)V
invokespecial org.bson.types.Decimal128.<init>:(Ljava/math/BigDecimal;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bson/BsonDouble;
public double doubleValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.BsonDouble.value:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonDouble;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.bson.BsonDouble
astore 2
start local 2 5: aload 2
getfield org.bson.BsonDouble.value:D
aload 0
getfield org.bson.BsonDouble.value:D
invokestatic java.lang.Double.compare:(DD)I
ifeq 7
6: iconst_0
ireturn
7: StackMap locals: org.bson.BsonDouble
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bson/BsonDouble;
0 8 1 o Ljava/lang/Object;
5 8 2 that Lorg/bson/BsonDouble;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.bson.BsonDouble.value:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
lstore 1
start local 1 1: lload 1
lload 1
bipush 32
lushr
lxor
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/BsonDouble;
1 2 1 temp J
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "BsonDouble{value="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield org.bson.BsonDouble.value:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
2: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bson/BsonDouble;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.bson.BsonDouble
invokevirtual org.bson.BsonDouble.compareTo:(Lorg/bson/BsonDouble;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/bson/BsonNumber;Ljava/lang/Comparable<Lorg/bson/BsonDouble;>;
SourceFile: "BsonDouble.java"