final class org.apache.lucene.index.DocsWithFieldSet extends org.apache.lucene.search.DocIdSet
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.DocsWithFieldSet
super_class: org.apache.lucene.search.DocIdSet
{
private static long BASE_RAM_BYTES_USED;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private org.apache.lucene.util.FixedBitSet set;
descriptor: Lorg/apache/lucene/util/FixedBitSet;
flags: (0x0002) ACC_PRIVATE
private int cost;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int lastDocId;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/DocsWithFieldSet;
invokestatic org.apache.lucene.util.RamUsageEstimator.shallowSizeOfInstance:(Ljava/lang/Class;)J
putstatic org.apache.lucene.index.DocsWithFieldSet.BASE_RAM_BYTES_USED:J
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.search.DocIdSet.<init>:()V
1: aload 0
iconst_0
putfield org.apache.lucene.index.DocsWithFieldSet.cost:I
2: aload 0
iconst_m1
putfield org.apache.lucene.index.DocsWithFieldSet.lastDocId:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/DocsWithFieldSet;
void add(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.lastDocId:I
if_icmpgt 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Out of order doc ids: last="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.lastDocId:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", next="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.set:Lorg/apache/lucene/util/FixedBitSet;
ifnull 6
3: aload 0
aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.set:Lorg/apache/lucene/util/FixedBitSet;
iload 1
invokestatic org.apache.lucene.util.FixedBitSet.ensureCapacity:(Lorg/apache/lucene/util/FixedBitSet;I)Lorg/apache/lucene/util/FixedBitSet;
putfield org.apache.lucene.index.DocsWithFieldSet.set:Lorg/apache/lucene/util/FixedBitSet;
4: aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.set:Lorg/apache/lucene/util/FixedBitSet;
iload 1
invokevirtual org.apache.lucene.util.FixedBitSet.set:(I)V
5: goto 10
StackMap locals:
StackMap stack:
6: iload 1
aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.cost:I
if_icmpeq 10
7: aload 0
new org.apache.lucene.util.FixedBitSet
dup
iload 1
iconst_1
iadd
invokespecial org.apache.lucene.util.FixedBitSet.<init>:(I)V
putfield org.apache.lucene.index.DocsWithFieldSet.set:Lorg/apache/lucene/util/FixedBitSet;
8: aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.set:Lorg/apache/lucene/util/FixedBitSet;
iconst_0
aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.cost:I
invokevirtual org.apache.lucene.util.FixedBitSet.set:(II)V
9: aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.set:Lorg/apache/lucene/util/FixedBitSet;
iload 1
invokevirtual org.apache.lucene.util.FixedBitSet.set:(I)V
10: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.lucene.index.DocsWithFieldSet.lastDocId:I
11: aload 0
dup
getfield org.apache.lucene.index.DocsWithFieldSet.cost:I
iconst_1
iadd
putfield org.apache.lucene.index.DocsWithFieldSet.cost:I
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/index/DocsWithFieldSet;
0 13 1 docID I
MethodParameters:
Name Flags
docID
public long ramBytesUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.DocsWithFieldSet.BASE_RAM_BYTES_USED:J
aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.set:Lorg/apache/lucene/util/FixedBitSet;
ifnonnull 1
lconst_0
goto 2
StackMap locals:
StackMap stack: long
1: aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.set:Lorg/apache/lucene/util/FixedBitSet;
invokevirtual org.apache.lucene.util.FixedBitSet.ramBytesUsed:()J
StackMap locals: org.apache.lucene.index.DocsWithFieldSet
StackMap stack: long long
2: ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/DocsWithFieldSet;
public org.apache.lucene.search.DocIdSetIterator iterator();
descriptor: ()Lorg/apache/lucene/search/DocIdSetIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.set:Lorg/apache/lucene/util/FixedBitSet;
ifnull 1
new org.apache.lucene.util.BitSetIterator
dup
aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.set:Lorg/apache/lucene/util/FixedBitSet;
aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.cost:I
i2l
invokespecial org.apache.lucene.util.BitSetIterator.<init>:(Lorg/apache/lucene/util/BitSet;J)V
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.apache.lucene.index.DocsWithFieldSet.cost:I
invokestatic org.apache.lucene.search.DocIdSetIterator.all:(I)Lorg/apache/lucene/search/DocIdSetIterator;
StackMap locals:
StackMap stack: org.apache.lucene.search.DocIdSetIterator
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/DocsWithFieldSet;
}
SourceFile: "DocsWithFieldSet.java"