public abstract class org.apache.lucene.util.BitSet implements org.apache.lucene.util.Bits, org.apache.lucene.util.Accountable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.util.BitSet
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/BitSet;
public static org.apache.lucene.util.BitSet of(org.apache.lucene.search.DocIdSetIterator, int);
descriptor: (Lorg/apache/lucene/search/DocIdSetIterator;I)Lorg/apache/lucene/util/BitSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.lucene.search.DocIdSetIterator.cost:()J
lstore 2
start local 2 1: iload 1
bipush 7
iushr
istore 4
start local 4 2: lload 2
iload 4
i2l
lcmp
ifge 5
3: new org.apache.lucene.util.SparseFixedBitSet
dup
iload 1
invokespecial org.apache.lucene.util.SparseFixedBitSet.<init>:(I)V
astore 5
start local 5 4: goto 6
end local 5 5: StackMap locals: long int
StackMap stack:
new org.apache.lucene.util.FixedBitSet
dup
iload 1
invokespecial org.apache.lucene.util.FixedBitSet.<init>:(I)V
astore 5
start local 5 6: StackMap locals: org.apache.lucene.util.BitSet
StackMap stack:
aload 5
aload 0
invokevirtual org.apache.lucene.util.BitSet.or:(Lorg/apache/lucene/search/DocIdSetIterator;)V
7: aload 5
areturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 it Lorg/apache/lucene/search/DocIdSetIterator;
0 8 1 maxDoc I
1 8 2 cost J
2 8 4 threshold I
4 5 5 set Lorg/apache/lucene/util/BitSet;
6 8 5 set Lorg/apache/lucene/util/BitSet;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
it
maxDoc
public abstract void set(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
i
public abstract void clear(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
i
public abstract void clear(int, int);
descriptor: (II)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
startIndex
endIndex
public abstract int cardinality();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public int approximateCardinality();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.util.BitSet.cardinality:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/BitSet;
public abstract int prevSetBit(int);
descriptor: (I)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index
public abstract int nextSetBit(int);
descriptor: (I)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index
protected final void checkUnpositioned(org.apache.lucene.search.DocIdSetIterator);
descriptor: (Lorg/apache/lucene/search/DocIdSetIterator;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.lucene.search.DocIdSetIterator.docID:()I
iconst_m1
if_icmpeq 2
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "This operation only works with an unpositioned iterator, got current position = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.apache.lucene.search.DocIdSetIterator.docID:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/BitSet;
0 3 1 iter Lorg/apache/lucene/search/DocIdSetIterator;
MethodParameters:
Name Flags
iter
public void or(org.apache.lucene.search.DocIdSetIterator);
descriptor: (Lorg/apache/lucene/search/DocIdSetIterator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.util.BitSet.checkUnpositioned:(Lorg/apache/lucene/search/DocIdSetIterator;)V
1: aload 1
invokevirtual org.apache.lucene.search.DocIdSetIterator.nextDoc:()I
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokevirtual org.apache.lucene.util.BitSet.set:(I)V
4: aload 1
invokevirtual org.apache.lucene.search.DocIdSetIterator.nextDoc:()I
istore 2
StackMap locals:
StackMap stack:
5: iload 2
ldc 2147483647
if_icmpne 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/util/BitSet;
0 7 1 iter Lorg/apache/lucene/search/DocIdSetIterator;
2 6 2 doc I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
iter
}
SourceFile: "BitSet.java"