public final class com.mongodb.client.model.geojson.Position
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.client.model.geojson.Position
super_class: java.lang.Object
{
private final java.util.List<java.lang.Double> values;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Double;>;
public void <init>(java.util.List<java.lang.Double>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: ldc "values"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: ldc "value contains only non-null elements"
aload 1
aconst_null
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 3
iconst_0
goto 4
StackMap locals: com.mongodb.client.model.geojson.Position java.util.List
StackMap stack: java.lang.String
3: iconst_1
StackMap locals: com.mongodb.client.model.geojson.Position java.util.List
StackMap stack: java.lang.String int
4: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
5: ldc "value must contain at least two elements"
aload 1
invokeinterface java.util.List.size:()I
iconst_2
if_icmplt 6
iconst_1
goto 7
StackMap locals:
StackMap stack: java.lang.String
6: iconst_0
StackMap locals: com.mongodb.client.model.geojson.Position java.util.List
StackMap stack: java.lang.String int
7: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
8: aload 0
aload 1
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield com.mongodb.client.model.geojson.Position.values:Ljava/util/List;
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/mongodb/client/model/geojson/Position;
0 10 1 values Ljava/util/List<Ljava/lang/Double;>;
Signature: (Ljava/util/List<Ljava/lang/Double;>;)V
MethodParameters:
Name Flags
values final
public void <init>(double, double, double[]);
descriptor: (DD[D)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=12, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 2: aload 6
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 6
dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 5
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 8
StackMap locals: com.mongodb.client.model.geojson.Position double double double[] java.util.List top top int int double[]
StackMap stack:
5: aload 11
iload 9
daload
dstore 7
start local 7 6: aload 6
dload 7
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 7: iinc 9 1
StackMap locals:
StackMap stack:
8: iload 9
iload 10
if_icmplt 5
9: aload 0
aload 6
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield com.mongodb.client.model.geojson.Position.values:Ljava/util/List;
10: return
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/mongodb/client/model/geojson/Position;
0 11 1 first D
0 11 3 second D
0 11 5 remaining [D
2 11 6 values Ljava/util/List<Ljava/lang/Double;>;
6 7 7 cur D
MethodParameters:
Name Flags
first final
second final
remaining final
public java.util.List<java.lang.Double> getValues();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.geojson.Position.values:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/geojson/Position;
Signature: ()Ljava/util/List<Ljava/lang/Double;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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 com.mongodb.client.model.geojson.Position
astore 2
start local 2 5: aload 0
getfield com.mongodb.client.model.geojson.Position.values:Ljava/util/List;
aload 2
getfield com.mongodb.client.model.geojson.Position.values:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals: com.mongodb.client.model.geojson.Position
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/client/model/geojson/Position;
0 8 1 o Ljava/lang/Object;
5 8 2 that Lcom/mongodb/client/model/geojson/Position;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.geojson.Position.values:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/geojson/Position;
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 "Position{values="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.client.model.geojson.Position.values:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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 Lcom/mongodb/client/model/geojson/Position;
}
SourceFile: "Position.java"
RuntimeVisibleAnnotations:
com.mongodb.annotations.Immutable()