public abstract class org.apache.lucene.store.DataOutput
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.store.DataOutput
super_class: java.lang.Object
{
private static int COPY_BUFFER_SIZE;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private byte[] copyBuffer;
descriptor: [B
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/store/DataOutput;
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.store.DataOutput.$assertionsDisabled:Z
3: sipush 16384
putstatic org.apache.lucene.store.DataOutput.COPY_BUFFER_SIZE:I
return
LocalVariableTable:
Start End Slot Name Signature
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/store/DataOutput;
public abstract void writeByte(byte);
descriptor: (B)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void writeBytes(byte[], int);
descriptor: ([BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
iload 2
invokevirtual org.apache.lucene.store.DataOutput.writeBytes:([BII)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/store/DataOutput;
0 2 1 b [B
0 2 2 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
length
public abstract void writeBytes(byte[], int, int);
descriptor: ([BII)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
offset
length
public void writeInt(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
bipush 24
ishr
i2b
invokevirtual org.apache.lucene.store.DataOutput.writeByte:(B)V
1: aload 0
iload 1
bipush 16
ishr
i2b
invokevirtual org.apache.lucene.store.DataOutput.writeByte:(B)V
2: aload 0
iload 1
bipush 8
ishr
i2b
invokevirtual org.apache.lucene.store.DataOutput.writeByte:(B)V
3: aload 0
iload 1
i2b
invokevirtual org.apache.lucene.store.DataOutput.writeByte:(B)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/store/DataOutput;
0 5 1 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
public void writeShort(short);
descriptor: (S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
bipush 8
ishr
i2b
invokevirtual org.apache.lucene.store.DataOutput.writeByte:(B)V
1: aload 0
iload 1
i2b
invokevirtual org.apache.lucene.store.DataOutput.writeByte:(B)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/store/DataOutput;
0 3 1 i S
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
public final void writeVInt(int);
descriptor: (I)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: goto 3
1: StackMap locals:
StackMap stack:
aload 0
iload 1
bipush 127
iand
sipush 128
ior
i2b
invokevirtual org.apache.lucene.store.DataOutput.writeByte:(B)V
2: iload 1
bipush 7
iushr
istore 1
3: StackMap locals:
StackMap stack:
iload 1
bipush -128
iand
ifne 1
4: aload 0
iload 1
i2b
invokevirtual org.apache.lucene.store.DataOutput.writeByte:(B)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/store/DataOutput;
0 6 1 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
public final void writeZInt(int);
descriptor: (I)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic org.apache.lucene.util.BitUtil.zigZagEncode:(I)I
invokevirtual org.apache.lucene.store.DataOutput.writeVInt:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/store/DataOutput;
0 2 1 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
public void writeLong(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
bipush 32
lshr
l2i
invokevirtual org.apache.lucene.store.DataOutput.writeInt:(I)V
1: aload 0
lload 1
l2i
invokevirtual org.apache.lucene.store.DataOutput.writeInt:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/store/DataOutput;
0 3 1 i J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
public final void writeVLong(long);
descriptor: (J)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifge 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot write negative vLong (got: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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
lload 1
invokevirtual org.apache.lucene.store.DataOutput.writeSignedVLong:(J)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/store/DataOutput;
0 4 1 i J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
private void writeSignedVLong(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: goto 3
1: StackMap locals:
StackMap stack:
aload 0
lload 1
ldc 127
land
ldc 128
lor
l2i
i2b
invokevirtual org.apache.lucene.store.DataOutput.writeByte:(B)V
2: lload 1
bipush 7
lushr
lstore 1
3: StackMap locals:
StackMap stack:
lload 1
ldc -128
land
lconst_0
lcmp
ifne 1
4: aload 0
lload 1
l2i
i2b
invokevirtual org.apache.lucene.store.DataOutput.writeByte:(B)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/store/DataOutput;
0 6 1 i J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
public final void writeZLong(long);
descriptor: (J)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokestatic org.apache.lucene.util.BitUtil.zigZagEncode:(J)J
invokevirtual org.apache.lucene.store.DataOutput.writeSignedVLong:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/store/DataOutput;
0 2 1 i J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
public void writeString(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.lucene.util.BytesRef
dup
aload 1
invokespecial org.apache.lucene.util.BytesRef.<init>:(Ljava/lang/CharSequence;)V
astore 2
start local 2 1: aload 0
aload 2
getfield org.apache.lucene.util.BytesRef.length:I
invokevirtual org.apache.lucene.store.DataOutput.writeVInt:(I)V
2: aload 0
aload 2
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 2
getfield org.apache.lucene.util.BytesRef.offset:I
aload 2
getfield org.apache.lucene.util.BytesRef.length:I
invokevirtual org.apache.lucene.store.DataOutput.writeBytes:([BII)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/store/DataOutput;
0 4 1 s Ljava/lang/String;
1 4 2 utf8Result Lorg/apache/lucene/util/BytesRef;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public void copyBytes(org.apache.lucene.store.DataInput, long);
descriptor: (Lorg/apache/lucene/store/DataInput;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.lucene.store.DataOutput.$assertionsDisabled:Z
ifne 1
lload 2
lconst_0
lcmp
ifge 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "numBytes="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
lload 2
lstore 4
start local 4 2: aload 0
getfield org.apache.lucene.store.DataOutput.copyBuffer:[B
ifnonnull 12
3: aload 0
getstatic org.apache.lucene.store.DataOutput.COPY_BUFFER_SIZE:I
newarray 8
putfield org.apache.lucene.store.DataOutput.copyBuffer:[B
4: goto 12
5: StackMap locals: long
StackMap stack:
lload 4
getstatic org.apache.lucene.store.DataOutput.COPY_BUFFER_SIZE:I
i2l
lcmp
ifle 8
6: getstatic org.apache.lucene.store.DataOutput.COPY_BUFFER_SIZE:I
istore 6
start local 6 7: goto 9
end local 6 8: StackMap locals:
StackMap stack:
lload 4
l2i
istore 6
start local 6 9: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield org.apache.lucene.store.DataOutput.copyBuffer:[B
iconst_0
iload 6
invokevirtual org.apache.lucene.store.DataInput.readBytes:([BII)V
10: aload 0
aload 0
getfield org.apache.lucene.store.DataOutput.copyBuffer:[B
iconst_0
iload 6
invokevirtual org.apache.lucene.store.DataOutput.writeBytes:([BII)V
11: lload 4
iload 6
i2l
lsub
lstore 4
end local 6 12: StackMap locals:
StackMap stack:
lload 4
lconst_0
lcmp
ifgt 5
13: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/store/DataOutput;
0 14 1 input Lorg/apache/lucene/store/DataInput;
0 14 2 numBytes J
2 14 4 left J
7 8 6 toCopy I
9 12 6 toCopy I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
numBytes
public void writeMapOfStrings(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.util.Map.size:()I
invokevirtual org.apache.lucene.store.DataOutput.writeVInt:(I)V
1: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.apache.lucene.store.DataOutput java.util.Map top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 0
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.apache.lucene.store.DataOutput.writeString:(Ljava/lang/String;)V
4: aload 0
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.apache.lucene.store.DataOutput.writeString:(Ljava/lang/String;)V
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/store/DataOutput;
0 7 1 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
3 5 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
map
public void writeSetOfStrings(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.util.Set.size:()I
invokevirtual org.apache.lucene.store.DataOutput.writeVInt:(I)V
1: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.lucene.store.DataOutput java.util.Set top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.apache.lucene.store.DataOutput.writeString:(Ljava/lang/String;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/store/DataOutput;
0 6 1 set Ljava/util/Set<Ljava/lang/String;>;
3 4 2 value Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
set
}
SourceFile: "DataOutput.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map