class com.mongodb.internal.connection.IndexMap$HashBased extends com.mongodb.internal.connection.IndexMap
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.IndexMap$HashBased
super_class: com.mongodb.internal.connection.IndexMap
{
private final java.util.Map<java.lang.Integer, java.lang.Integer> indexMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/Integer;>;
void <init>(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.mongodb.internal.connection.IndexMap.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.mongodb.internal.connection.IndexMap$HashBased.indexMap:Ljava/util/Map;
2: iload 1
istore 3
start local 3 3: goto 6
4: StackMap locals: com.mongodb.internal.connection.IndexMap$HashBased int int int
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.IndexMap$HashBased.indexMap:Ljava/util/Map;
iload 3
iload 1
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
iload 2
iadd
if_icmplt 4
end local 3 7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/internal/connection/IndexMap$HashBased;
0 8 1 startIndex I
0 8 2 count I
3 7 3 i I
MethodParameters:
Name Flags
startIndex final
count final
public com.mongodb.internal.connection.IndexMap add(int, int);
descriptor: (II)Lcom/mongodb/internal/connection/IndexMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.mongodb.internal.connection.IndexMap$HashBased.indexMap:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/IndexMap$HashBased;
0 2 1 index I
0 2 2 originalIndex I
MethodParameters:
Name Flags
index final
originalIndex final
public int map(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.internal.connection.IndexMap$HashBased.indexMap:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new com.mongodb.MongoInternalException
dup
new java.lang.StringBuilder
dup
ldc "no mapping found for index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.mongodb.MongoInternalException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Integer
StackMap stack:
aload 2
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/IndexMap$HashBased;
0 4 1 index I
1 4 2 originalIndex Ljava/lang/Integer;
MethodParameters:
Name Flags
index final
}
SourceFile: "IndexMap.java"
NestHost: com.mongodb.internal.connection.IndexMap
InnerClasses:
private HashBased = com.mongodb.internal.connection.IndexMap$HashBased of com.mongodb.internal.connection.IndexMap