public final class org.apache.lucene.util.DocIdSetBuilder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.util.DocIdSetBuilder
super_class: java.lang.Object
{
private final int maxDoc;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int threshold;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final boolean multivalued;
descriptor: Z
flags: (0x0010) ACC_FINAL
final double numValuesPerDoc;
descriptor: D
flags: (0x0010) ACC_FINAL
private java.util.List<org.apache.lucene.util.DocIdSetBuilder$Buffer> buffers;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;>;
private int totalAllocated;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.util.FixedBitSet bitSet;
descriptor: Lorg/apache/lucene/util/FixedBitSet;
flags: (0x0002) ACC_PRIVATE
private long counter;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.util.DocIdSetBuilder$BulkAdder adder;
descriptor: Lorg/apache/lucene/util/DocIdSetBuilder$BulkAdder;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/util/DocIdSetBuilder;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.util.DocIdSetBuilder.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_m1
ldc -1
invokespecial org.apache.lucene.util.DocIdSetBuilder.<init>:(IIJ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/DocIdSetBuilder;
0 2 1 maxDoc I
MethodParameters:
Name Flags
maxDoc
public void <init>(int, org.apache.lucene.index.Terms);
descriptor: (ILorg/apache/lucene/index/Terms;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokevirtual org.apache.lucene.index.Terms.getDocCount:()I
aload 2
invokevirtual org.apache.lucene.index.Terms.getSumDocFreq:()J
invokespecial org.apache.lucene.util.DocIdSetBuilder.<init>:(IIJ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/DocIdSetBuilder;
0 2 1 maxDoc I
0 2 2 terms Lorg/apache/lucene/index/Terms;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
maxDoc
terms
public void <init>(int, org.apache.lucene.index.PointValues, java.lang.String);
descriptor: (ILorg/apache/lucene/index/PointValues;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
invokevirtual org.apache.lucene.index.PointValues.getDocCount:()I
aload 2
invokevirtual org.apache.lucene.index.PointValues.size:()J
invokespecial org.apache.lucene.util.DocIdSetBuilder.<init>:(IIJ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/DocIdSetBuilder;
0 2 1 maxDoc I
0 2 2 values Lorg/apache/lucene/index/PointValues;
0 2 3 field Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
maxDoc
values
field
void <init>(int, int, long);
descriptor: (IIJ)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.lucene.util.DocIdSetBuilder.buffers:Ljava/util/List;
2: aload 0
ldc -1
putfield org.apache.lucene.util.DocIdSetBuilder.counter:J
3: aload 0
iload 1
putfield org.apache.lucene.util.DocIdSetBuilder.maxDoc:I
4: aload 0
iload 2
iflt 5
iload 2
i2l
lload 3
lcmp
ifne 5
iconst_0
goto 6
StackMap locals: org.apache.lucene.util.DocIdSetBuilder int int long
StackMap stack: org.apache.lucene.util.DocIdSetBuilder
5: iconst_1
StackMap locals: org.apache.lucene.util.DocIdSetBuilder int int long
StackMap stack: org.apache.lucene.util.DocIdSetBuilder int
6: putfield org.apache.lucene.util.DocIdSetBuilder.multivalued:Z
7: iload 2
ifle 8
lload 3
lconst_0
lcmp
ifge 10
8: StackMap locals:
StackMap stack:
aload 0
dconst_1
putfield org.apache.lucene.util.DocIdSetBuilder.numValuesPerDoc:D
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
lload 3
l2d
iload 2
i2d
ddiv
putfield org.apache.lucene.util.DocIdSetBuilder.numValuesPerDoc:D
11: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.DocIdSetBuilder.$assertionsDisabled:Z
ifne 12
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.numValuesPerDoc:D
dconst_1
dcmpl
ifge 12
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "valueCount="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " docCount="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
iload 1
bipush 7
iushr
putfield org.apache.lucene.util.DocIdSetBuilder.threshold:I
13: aload 0
aconst_null
putfield org.apache.lucene.util.DocIdSetBuilder.bitSet:Lorg/apache/lucene/util/FixedBitSet;
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/lucene/util/DocIdSetBuilder;
0 15 1 maxDoc I
0 15 2 docCount I
0 15 3 valueCount J
MethodParameters:
Name Flags
maxDoc
docCount
valueCount
public void add(org.apache.lucene.search.DocIdSetIterator);
descriptor: (Lorg/apache/lucene/search/DocIdSetIterator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.bitSet:Lorg/apache/lucene/util/FixedBitSet;
ifnull 3
1: aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.bitSet:Lorg/apache/lucene/util/FixedBitSet;
aload 1
invokevirtual org.apache.lucene.util.FixedBitSet.or:(Lorg/apache/lucene/search/DocIdSetIterator;)V
2: return
3: StackMap locals:
StackMap stack:
ldc 2147483647
aload 1
invokevirtual org.apache.lucene.search.DocIdSetIterator.cost:()J
invokestatic java.lang.Math.min:(JJ)J
l2i
istore 2
start local 2 4: aload 0
iload 2
invokevirtual org.apache.lucene.util.DocIdSetBuilder.grow:(I)Lorg/apache/lucene/util/DocIdSetBuilder$BulkAdder;
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 12
7: StackMap locals: int org.apache.lucene.util.DocIdSetBuilder$BulkAdder int
StackMap stack:
aload 1
invokevirtual org.apache.lucene.search.DocIdSetIterator.nextDoc:()I
istore 5
start local 5 8: iload 5
ldc 2147483647
if_icmpne 10
9: return
10: StackMap locals: int
StackMap stack:
aload 3
iload 5
invokevirtual org.apache.lucene.util.DocIdSetBuilder$BulkAdder.add:(I)V
end local 5 11: iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 2
if_icmplt 7
end local 4 13: aload 1
invokevirtual org.apache.lucene.search.DocIdSetIterator.nextDoc:()I
istore 4
start local 4 14: goto 17
15: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual org.apache.lucene.util.DocIdSetBuilder.grow:(I)Lorg/apache/lucene/util/DocIdSetBuilder$BulkAdder;
iload 4
invokevirtual org.apache.lucene.util.DocIdSetBuilder$BulkAdder.add:(I)V
16: aload 1
invokevirtual org.apache.lucene.search.DocIdSetIterator.nextDoc:()I
istore 4
StackMap locals:
StackMap stack:
17: iload 4
ldc 2147483647
if_icmpne 15
end local 4 18: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/lucene/util/DocIdSetBuilder;
0 19 1 iter Lorg/apache/lucene/search/DocIdSetIterator;
4 19 2 cost I
5 19 3 adder Lorg/apache/lucene/util/DocIdSetBuilder$BulkAdder;
6 13 4 i I
8 11 5 doc I
14 18 4 doc I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
iter
public org.apache.lucene.util.DocIdSetBuilder$BulkAdder grow(int);
descriptor: (I)Lorg/apache/lucene/util/DocIdSetBuilder$BulkAdder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.bitSet:Lorg/apache/lucene/util/FixedBitSet;
ifnonnull 7
1: aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.totalAllocated:I
i2l
iload 1
i2l
ladd
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.threshold:I
i2l
lcmp
ifgt 4
2: aload 0
iload 1
invokevirtual org.apache.lucene.util.DocIdSetBuilder.ensureBufferCapacity:(I)V
3: goto 8
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.util.DocIdSetBuilder.upgradeToBitSet:()V
5: aload 0
dup
getfield org.apache.lucene.util.DocIdSetBuilder.counter:J
iload 1
i2l
ladd
putfield org.apache.lucene.util.DocIdSetBuilder.counter:J
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.lucene.util.DocIdSetBuilder.counter:J
iload 1
i2l
ladd
putfield org.apache.lucene.util.DocIdSetBuilder.counter:J
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.adder:Lorg/apache/lucene/util/DocIdSetBuilder$BulkAdder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/util/DocIdSetBuilder;
0 9 1 numDocs I
MethodParameters:
Name Flags
numDocs
private void ensureBufferCapacity(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.buffers:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
1: aload 0
aload 0
iload 1
invokevirtual org.apache.lucene.util.DocIdSetBuilder.additionalCapacity:(I)I
invokevirtual org.apache.lucene.util.DocIdSetBuilder.addBuffer:(I)Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
pop
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.buffers:Ljava/util/List;
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.buffers:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.util.DocIdSetBuilder$Buffer
astore 2
start local 2 4: aload 2
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
arraylength
aload 2
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.length:I
isub
iload 1
if_icmplt 6
5: return
6: StackMap locals: org.apache.lucene.util.DocIdSetBuilder$Buffer
StackMap stack:
aload 2
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.length:I
aload 2
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
arraylength
aload 2
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
arraylength
iconst_3
iushr
isub
if_icmpge 9
7: aload 0
aload 2
aload 0
iload 1
invokevirtual org.apache.lucene.util.DocIdSetBuilder.additionalCapacity:(I)I
invokevirtual org.apache.lucene.util.DocIdSetBuilder.growBuffer:(Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;I)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
aload 0
iload 1
invokevirtual org.apache.lucene.util.DocIdSetBuilder.additionalCapacity:(I)I
invokevirtual org.apache.lucene.util.DocIdSetBuilder.addBuffer:(I)Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
pop
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/util/DocIdSetBuilder;
0 11 1 numDocs I
4 11 2 current Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
MethodParameters:
Name Flags
numDocs
private int additionalCapacity(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.totalAllocated:I
istore 2
start local 2 1: iload 1
iconst_1
iadd
iload 2
invokestatic java.lang.Math.max:(II)I
istore 2
2: bipush 32
iload 2
invokestatic java.lang.Math.max:(II)I
istore 2
3: aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.threshold:I
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.totalAllocated:I
isub
iload 2
invokestatic java.lang.Math.min:(II)I
istore 2
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/util/DocIdSetBuilder;
0 5 1 numDocs I
1 5 2 c I
MethodParameters:
Name Flags
numDocs
private org.apache.lucene.util.DocIdSetBuilder$Buffer addBuffer(int);
descriptor: (I)Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.lucene.util.DocIdSetBuilder$Buffer
dup
iload 1
invokespecial org.apache.lucene.util.DocIdSetBuilder$Buffer.<init>:(I)V
astore 2
start local 2 1: aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.buffers:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
new org.apache.lucene.util.DocIdSetBuilder$BufferAdder
dup
aload 2
invokespecial org.apache.lucene.util.DocIdSetBuilder$BufferAdder.<init>:(Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;)V
putfield org.apache.lucene.util.DocIdSetBuilder.adder:Lorg/apache/lucene/util/DocIdSetBuilder$BulkAdder;
3: aload 0
dup
getfield org.apache.lucene.util.DocIdSetBuilder.totalAllocated:I
aload 2
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
arraylength
iadd
putfield org.apache.lucene.util.DocIdSetBuilder.totalAllocated:I
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/util/DocIdSetBuilder;
0 5 1 len I
1 5 2 buffer Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
MethodParameters:
Name Flags
len
private void growBuffer(org.apache.lucene.util.DocIdSetBuilder$Buffer, int);
descriptor: (Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 1
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
aload 1
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
arraylength
iload 2
iadd
invokestatic org.apache.lucene.util.ArrayUtil.growExact:([II)[I
putfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
1: aload 0
dup
getfield org.apache.lucene.util.DocIdSetBuilder.totalAllocated:I
iload 2
iadd
putfield org.apache.lucene.util.DocIdSetBuilder.totalAllocated:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/DocIdSetBuilder;
0 3 1 buffer Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
0 3 2 additionalCapacity I
MethodParameters:
Name Flags
buffer
additionalCapacity
private void upgradeToBitSet();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=1
start local 0 0: getstatic org.apache.lucene.util.DocIdSetBuilder.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.bitSet:Lorg/apache/lucene/util/FixedBitSet;
ifnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new org.apache.lucene.util.FixedBitSet
dup
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.maxDoc:I
invokespecial org.apache.lucene.util.FixedBitSet.<init>:(I)V
astore 1
start local 1 2: lconst_0
lstore 2
start local 2 3: aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.buffers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 13
StackMap locals: org.apache.lucene.util.DocIdSetBuilder org.apache.lucene.util.FixedBitSet long top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.util.DocIdSetBuilder$Buffer
astore 4
start local 4 5: aload 4
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
astore 6
start local 6 6: aload 4
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.length:I
istore 7
start local 7 7: lload 2
iload 7
i2l
ladd
lstore 2
8: iconst_0
istore 8
start local 8 9: goto 12
10: StackMap locals: org.apache.lucene.util.DocIdSetBuilder org.apache.lucene.util.FixedBitSet long org.apache.lucene.util.DocIdSetBuilder$Buffer java.util.Iterator int[] int int
StackMap stack:
aload 1
aload 6
iload 8
iaload
invokevirtual org.apache.lucene.util.FixedBitSet.set:(I)V
11: iinc 8 1
StackMap locals:
StackMap stack:
12: iload 8
iload 7
if_icmplt 10
end local 8 end local 7 end local 6 end local 4 13: StackMap locals: org.apache.lucene.util.DocIdSetBuilder org.apache.lucene.util.FixedBitSet long top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
14: aload 0
aload 1
putfield org.apache.lucene.util.DocIdSetBuilder.bitSet:Lorg/apache/lucene/util/FixedBitSet;
15: aload 0
lload 2
putfield org.apache.lucene.util.DocIdSetBuilder.counter:J
16: aload 0
aconst_null
putfield org.apache.lucene.util.DocIdSetBuilder.buffers:Ljava/util/List;
17: aload 0
new org.apache.lucene.util.DocIdSetBuilder$FixedBitSetAdder
dup
aload 1
invokespecial org.apache.lucene.util.DocIdSetBuilder$FixedBitSetAdder.<init>:(Lorg/apache/lucene/util/FixedBitSet;)V
putfield org.apache.lucene.util.DocIdSetBuilder.adder:Lorg/apache/lucene/util/DocIdSetBuilder$BulkAdder;
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/lucene/util/DocIdSetBuilder;
2 19 1 bitSet Lorg/apache/lucene/util/FixedBitSet;
3 19 2 counter J
5 13 4 buffer Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
6 13 6 array [I
7 13 7 length I
9 13 8 i I
public org.apache.lucene.search.DocIdSet build();
descriptor: ()Lorg/apache/lucene/search/DocIdSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.bitSet:Lorg/apache/lucene/util/FixedBitSet;
ifnull 7
1: getstatic org.apache.lucene.util.DocIdSetBuilder.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.counter:J
lconst_0
lcmp
ifge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.counter:J
l2d
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.numValuesPerDoc:D
ddiv
invokestatic java.lang.Math.round:(D)J
lstore 1
start local 1 3: new org.apache.lucene.util.BitDocIdSet
dup
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.bitSet:Lorg/apache/lucene/util/FixedBitSet;
lload 1
invokespecial org.apache.lucene.util.BitDocIdSet.<init>:(Lorg/apache/lucene/util/BitSet;J)V
astore 5
4: aload 0
aconst_null
putfield org.apache.lucene.util.DocIdSetBuilder.buffers:Ljava/util/List;
5: aload 0
aconst_null
putfield org.apache.lucene.util.DocIdSetBuilder.bitSet:Lorg/apache/lucene/util/FixedBitSet;
6: aload 5
areturn
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.buffers:Ljava/util/List;
invokestatic org.apache.lucene.util.DocIdSetBuilder.concat:(Ljava/util/List;)Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
astore 1
start local 1 8: new org.apache.lucene.util.LSBRadixSorter
dup
invokespecial org.apache.lucene.util.LSBRadixSorter.<init>:()V
astore 2
start local 2 9: aload 2
aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.maxDoc:I
iconst_1
isub
i2l
invokestatic org.apache.lucene.util.packed.PackedInts.bitsRequired:(J)I
aload 1
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
aload 1
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.length:I
invokevirtual org.apache.lucene.util.LSBRadixSorter.sort:(I[II)V
10: aload 0
getfield org.apache.lucene.util.DocIdSetBuilder.multivalued:Z
ifeq 13
11: aload 1
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
aload 1
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.length:I
invokestatic org.apache.lucene.util.DocIdSetBuilder.dedup:([II)I
istore 3
start local 3 12: goto 15
end local 3 13: StackMap locals: org.apache.lucene.util.DocIdSetBuilder$Buffer org.apache.lucene.util.LSBRadixSorter
StackMap stack:
getstatic org.apache.lucene.util.DocIdSetBuilder.$assertionsDisabled:Z
ifne 14
aload 1
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
aload 1
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.length:I
invokestatic org.apache.lucene.util.DocIdSetBuilder.noDups:([II)Z
ifne 14
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
14: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.length:I
istore 3
start local 3 15: StackMap locals: int
StackMap stack:
getstatic org.apache.lucene.util.DocIdSetBuilder.$assertionsDisabled:Z
ifne 16
iload 3
aload 1
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.length:I
if_icmple 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
iload 3
ldc 2147483647
iastore
17: new org.apache.lucene.util.IntArrayDocIdSet
dup
aload 1
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
iload 3
invokespecial org.apache.lucene.util.IntArrayDocIdSet.<init>:([II)V
astore 5
18: aload 0
aconst_null
putfield org.apache.lucene.util.DocIdSetBuilder.buffers:Ljava/util/List;
19: aload 0
aconst_null
putfield org.apache.lucene.util.DocIdSetBuilder.bitSet:Lorg/apache/lucene/util/FixedBitSet;
20: aload 5
areturn
end local 3 end local 2 end local 1 21: StackMap locals: org.apache.lucene.util.DocIdSetBuilder
StackMap stack: java.lang.Throwable
astore 4
22: aload 0
aconst_null
putfield org.apache.lucene.util.DocIdSetBuilder.buffers:Ljava/util/List;
23: aload 0
aconst_null
putfield org.apache.lucene.util.DocIdSetBuilder.bitSet:Lorg/apache/lucene/util/FixedBitSet;
24: aload 4
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/lucene/util/DocIdSetBuilder;
3 7 1 cost J
8 21 1 concatenated Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
9 21 2 sorter Lorg/apache/lucene/util/LSBRadixSorter;
12 13 3 l I
15 21 3 l I
Exception table:
from to target type
0 4 21 any
7 18 21 any
private static org.apache.lucene.util.DocIdSetBuilder$Buffer concat(java.util.List<org.apache.lucene.util.DocIdSetBuilder$Buffer>);
descriptor: (Ljava/util/List;)Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: java.util.List int org.apache.lucene.util.DocIdSetBuilder$Buffer top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.util.DocIdSetBuilder$Buffer
astore 3
start local 3 4: iload 1
aload 3
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.length:I
iadd
istore 1
5: aload 2
ifnull 6
aload 3
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
arraylength
aload 2
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
arraylength
if_icmple 7
6: StackMap locals: java.util.List int org.apache.lucene.util.DocIdSetBuilder$Buffer org.apache.lucene.util.DocIdSetBuilder$Buffer java.util.Iterator
StackMap stack:
aload 3
astore 2
end local 3 7: StackMap locals: java.util.List int org.apache.lucene.util.DocIdSetBuilder$Buffer top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aload 2
ifnonnull 10
9: new org.apache.lucene.util.DocIdSetBuilder$Buffer
dup
iconst_1
invokespecial org.apache.lucene.util.DocIdSetBuilder$Buffer.<init>:(I)V
areturn
10: StackMap locals: java.util.List int org.apache.lucene.util.DocIdSetBuilder$Buffer
StackMap stack:
aload 2
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
astore 3
start local 3 11: aload 3
arraylength
iload 1
iconst_1
iadd
if_icmpge 13
12: aload 3
iload 1
iconst_1
iadd
invokestatic org.apache.lucene.util.ArrayUtil.growExact:([II)[I
astore 3
13: StackMap locals: int[]
StackMap stack:
aload 2
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.length:I
istore 1
14: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 19
StackMap locals: java.util.List int org.apache.lucene.util.DocIdSetBuilder$Buffer int[] top java.util.Iterator
StackMap stack:
15: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.util.DocIdSetBuilder$Buffer
astore 4
start local 4 16: aload 4
aload 2
if_acmpeq 19
17: aload 4
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.array:[I
iconst_0
aload 3
iload 1
aload 4
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.length:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
18: iload 1
aload 4
getfield org.apache.lucene.util.DocIdSetBuilder$Buffer.length:I
iadd
istore 1
end local 4 19: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
20: new org.apache.lucene.util.DocIdSetBuilder$Buffer
dup
aload 3
iload 1
invokespecial org.apache.lucene.util.DocIdSetBuilder$Buffer.<init>:([II)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 buffers Ljava/util/List<Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;>;
1 21 1 totalLength I
2 21 2 largestBuffer Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
4 7 3 buffer Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
11 21 3 docs [I
16 19 4 buffer Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
Signature: (Ljava/util/List<Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;>;)Lorg/apache/lucene/util/DocIdSetBuilder$Buffer;
MethodParameters:
Name Flags
buffers
private static int dedup(int[], int);
descriptor: ([II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
istore 2
start local 2 3: aload 0
iconst_0
iaload
istore 3
start local 3 4: iconst_1
istore 4
start local 4 5: goto 12
6: StackMap locals: int int int
StackMap stack:
aload 0
iload 4
iaload
istore 5
start local 5 7: getstatic org.apache.lucene.util.DocIdSetBuilder.$assertionsDisabled:Z
ifne 8
iload 5
iload 3
if_icmpge 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: int
StackMap stack:
iload 5
iload 3
if_icmpeq 11
9: aload 0
iload 2
iinc 2 1
iload 5
iastore
10: iload 5
istore 3
end local 5 11: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 1
if_icmplt 6
end local 4 13: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 arr [I
0 14 1 length I
3 14 2 l I
4 14 3 previous I
5 13 4 i I
7 11 5 value I
MethodParameters:
Name Flags
arr
length
private static boolean noDups(int[], int);
descriptor: ([II)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
getstatic org.apache.lucene.util.DocIdSetBuilder.$assertionsDisabled:Z
ifne 3
aload 0
iload 2
iconst_1
isub
iaload
aload 0
iload 2
iaload
if_icmplt 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
iload 1
if_icmplt 2
end local 2 5: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 a [I
0 6 1 len I
1 5 2 i I
MethodParameters:
Name Flags
a
len
}
SourceFile: "DocIdSetBuilder.java"
NestMembers:
org.apache.lucene.util.DocIdSetBuilder$Buffer org.apache.lucene.util.DocIdSetBuilder$BufferAdder org.apache.lucene.util.DocIdSetBuilder$BulkAdder org.apache.lucene.util.DocIdSetBuilder$FixedBitSetAdder
InnerClasses:
private Buffer = org.apache.lucene.util.DocIdSetBuilder$Buffer of org.apache.lucene.util.DocIdSetBuilder
private BufferAdder = org.apache.lucene.util.DocIdSetBuilder$BufferAdder of org.apache.lucene.util.DocIdSetBuilder
public abstract BulkAdder = org.apache.lucene.util.DocIdSetBuilder$BulkAdder of org.apache.lucene.util.DocIdSetBuilder
private FixedBitSetAdder = org.apache.lucene.util.DocIdSetBuilder$FixedBitSetAdder of org.apache.lucene.util.DocIdSetBuilder