public class com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm extends com.sun.xml.internal.fastinfoset.algorithm.IEEE754FloatingPointEncodingAlgorithm
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm
super_class: com.sun.xml.internal.fastinfoset.algorithm.IEEE754FloatingPointEncodingAlgorithm
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.xml.internal.fastinfoset.algorithm.IEEE754FloatingPointEncodingAlgorithm.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
public final int getPrimtiveLengthFromOctetLength(int);
descriptor: (I)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_4
irem
ifeq 4
1: new com.sun.xml.internal.org.jvnet.fastinfoset.EncodingAlgorithmException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
2: ldc "message.lengthNotMultipleOfFloat"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: invokespecial com.sun.xml.internal.org.jvnet.fastinfoset.EncodingAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
iconst_4
idiv
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 5 1 octetLength I
Exceptions:
throws com.sun.xml.internal.org.jvnet.fastinfoset.EncodingAlgorithmException
MethodParameters:
Name Flags
octetLength
public int getOctetLengthFromPrimitiveLength(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_4
imul
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 1 1 primitiveLength I
MethodParameters:
Name Flags
primitiveLength
public final java.lang.Object decodeFromBytes(byte[], int, int);
descriptor: ([BII)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokevirtual com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm.getPrimtiveLengthFromOctetLength:(I)I
newarray 6
astore 4
start local 4 1: aload 0
aload 4
iconst_0
aload 1
iload 2
iload 3
invokevirtual com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm.decodeFromBytesToFloatArray:([FI[BII)V
2: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 3 1 b [B
0 3 2 start I
0 3 3 length I
1 3 4 data [F
Exceptions:
throws com.sun.xml.internal.org.jvnet.fastinfoset.EncodingAlgorithmException
MethodParameters:
Name Flags
b
start
length
public final java.lang.Object decodeFromInputStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm.decodeFromInputStreamToFloatArray:(Ljava/io/InputStream;)[F
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 1 1 s Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public void encodeToOutputStream(java.lang.Object, java.io.OutputStream);
descriptor: (Ljava/lang/Object;Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof float[]
ifne 2
1: new java.lang.IllegalArgumentException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.dataNotFloat"
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
checkcast float[]
astore 3
start local 3 3: aload 0
aload 3
aload 2
invokevirtual com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm.encodeToOutputStreamFromFloatArray:([FLjava/io/OutputStream;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 5 1 data Ljava/lang/Object;
0 5 2 s Ljava/io/OutputStream;
3 5 3 fdata [F
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data
s
public final java.lang.Object convertFromCharacters(char[], int, int);
descriptor: ([CII)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
iload 3
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
astore 4
start local 4 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 2: aload 0
aload 4
3: new com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm$1
dup
aload 0
aload 4
aload 5
invokespecial com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm$1.<init>:(Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;Ljava/nio/CharBuffer;Ljava/util/List;)V
4: invokevirtual com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm.matchWhiteSpaceDelimnatedWords:(Ljava/nio/CharBuffer;Lcom/sun/xml/internal/fastinfoset/algorithm/BuiltInEncodingAlgorithm$WordListener;)V
5: aload 0
aload 5
invokevirtual com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm.generateArrayFromList:(Ljava/util/List;)[F
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 6 1 ch [C
0 6 2 start I
0 6 3 length I
1 6 4 cb Ljava/nio/CharBuffer;
2 6 5 floatList Ljava/util/List;
MethodParameters:
Name Flags
ch
start
length
public final void convertToCharacters(java.lang.Object, java.lang.StringBuffer);
descriptor: (Ljava/lang/Object;Ljava/lang/StringBuffer;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof float[]
ifne 2
1: new java.lang.IllegalArgumentException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.dataNotFloat"
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
checkcast float[]
astore 3
start local 3 3: aload 0
aload 3
aload 2
invokevirtual com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm.convertToCharactersFromFloatArray:([FLjava/lang/StringBuffer;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 5 1 data Ljava/lang/Object;
0 5 2 s Ljava/lang/StringBuffer;
3 5 3 fdata [F
MethodParameters:
Name Flags
data
s
public final void decodeFromBytesToFloatArray(float[], int, byte[], int, int);
descriptor: ([FI[BII)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 5
iconst_4
idiv
istore 6
start local 6 1: iconst_0
istore 7
start local 7 2: goto 12
3: StackMap locals: int int
StackMap stack:
aload 3
iload 4
iinc 4 1
baload
sipush 255
iand
bipush 24
ishl
4: aload 3
iload 4
iinc 4 1
baload
sipush 255
iand
bipush 16
ishl
5: ior
6: aload 3
iload 4
iinc 4 1
baload
sipush 255
iand
bipush 8
ishl
7: ior
8: aload 3
iload 4
iinc 4 1
baload
sipush 255
iand
9: ior
istore 8
start local 8 10: aload 1
iload 2
iinc 2 1
iload 8
invokestatic java.lang.Float.intBitsToFloat:(I)F
fastore
end local 8 11: iinc 7 1
StackMap locals:
StackMap stack:
12: iload 7
iload 6
if_icmplt 3
end local 7 13: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 14 1 data [F
0 14 2 fstart I
0 14 3 b [B
0 14 4 start I
0 14 5 length I
1 14 6 size I
2 13 7 i I
10 11 8 bits I
MethodParameters:
Name Flags
data
fstart
b
start
length
public final float[] decodeFromInputStreamToFloatArray(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)[F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: iconst_4
newarray 8
astore 3
start local 3 2: StackMap locals: java.util.List byte[]
StackMap stack:
aload 1
aload 3
invokevirtual java.io.InputStream.read:([B)I
istore 4
start local 4 3: iload 4
iconst_4
if_icmpeq 11
4: iload 4
iconst_m1
if_icmpne 10
5: goto 20
6: StackMap locals: int
StackMap stack:
aload 1
aload 3
iload 4
iconst_4
iload 4
isub
invokevirtual java.io.InputStream.read:([BII)I
istore 5
start local 5 7: iload 5
iconst_m1
if_icmpne 9
8: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
9: StackMap locals: int
StackMap stack:
iload 4
iload 5
iadd
istore 4
end local 5 10: StackMap locals:
StackMap stack:
iload 4
iconst_4
if_icmpne 6
11: StackMap locals:
StackMap stack:
aload 3
iconst_0
baload
sipush 255
iand
bipush 24
ishl
12: aload 3
iconst_1
baload
sipush 255
iand
bipush 16
ishl
13: ior
14: aload 3
iconst_2
baload
sipush 255
iand
bipush 8
ishl
15: ior
16: aload 3
iconst_3
baload
sipush 255
iand
17: ior
istore 5
start local 5 18: aload 2
iload 5
invokestatic java.lang.Float.intBitsToFloat:(I)F
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 4 19: goto 2
20: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm.generateArrayFromList:(Ljava/util/List;)[F
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 21 1 s Ljava/io/InputStream;
1 21 2 floatList Ljava/util/List;
2 21 3 b [B
3 19 4 n I
7 10 5 m I
18 19 5 bits I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public final void encodeToOutputStreamFromFloatArray(float[], java.io.OutputStream);
descriptor: ([FLjava/io/OutputStream;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 8
2: StackMap locals: int
StackMap stack:
aload 1
iload 3
faload
invokestatic java.lang.Float.floatToIntBits:(F)I
istore 4
start local 4 3: aload 2
iload 4
bipush 24
iushr
sipush 255
iand
invokevirtual java.io.OutputStream.write:(I)V
4: aload 2
iload 4
bipush 16
iushr
sipush 255
iand
invokevirtual java.io.OutputStream.write:(I)V
5: aload 2
iload 4
bipush 8
iushr
sipush 255
iand
invokevirtual java.io.OutputStream.write:(I)V
6: aload 2
iload 4
sipush 255
iand
invokevirtual java.io.OutputStream.write:(I)V
end local 4 7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 1
arraylength
if_icmplt 2
end local 3 9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 10 1 fdata [F
0 10 2 s Ljava/io/OutputStream;
1 9 3 i I
3 7 4 bits I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fdata
s
public final void encodeToBytes(java.lang.Object, int, int, byte[], int);
descriptor: (Ljava/lang/Object;II[BI)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
checkcast float[]
iload 2
iload 3
aload 4
iload 5
invokevirtual com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm.encodeToBytesFromFloatArray:([FII[BI)V
1: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 2 1 array Ljava/lang/Object;
0 2 2 astart I
0 2 3 alength I
0 2 4 b [B
0 2 5 start I
MethodParameters:
Name Flags
array
astart
alength
b
start
public final void encodeToBytesFromFloatArray(float[], int, int, byte[], int);
descriptor: ([FII[BI)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
iload 3
iadd
istore 6
start local 6 1: iload 2
istore 7
start local 7 2: goto 9
3: StackMap locals: int int
StackMap stack:
aload 1
iload 7
faload
invokestatic java.lang.Float.floatToIntBits:(F)I
istore 8
start local 8 4: aload 4
iload 5
iinc 5 1
iload 8
bipush 24
iushr
sipush 255
iand
i2b
bastore
5: aload 4
iload 5
iinc 5 1
iload 8
bipush 16
iushr
sipush 255
iand
i2b
bastore
6: aload 4
iload 5
iinc 5 1
iload 8
bipush 8
iushr
sipush 255
iand
i2b
bastore
7: aload 4
iload 5
iinc 5 1
iload 8
sipush 255
iand
i2b
bastore
end local 8 8: iinc 7 1
StackMap locals:
StackMap stack:
9: iload 7
iload 6
if_icmplt 3
end local 7 10: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 11 1 fdata [F
0 11 2 fstart I
0 11 3 flength I
0 11 4 b [B
0 11 5 start I
1 11 6 fend I
2 10 7 i I
4 8 8 bits I
MethodParameters:
Name Flags
fdata
fstart
flength
b
start
public final void convertToCharactersFromFloatArray(float[], java.lang.StringBuffer);
descriptor: ([FLjava/lang/StringBuffer;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
arraylength
iconst_1
isub
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 2
aload 1
iload 4
faload
invokestatic java.lang.Float.toString:(F)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
4: iload 4
iload 3
if_icmpeq 6
5: aload 2
bipush 32
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 3
if_icmple 3
end local 4 8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 9 1 fdata [F
0 9 2 s Ljava/lang/StringBuffer;
1 9 3 end I
2 8 4 i I
MethodParameters:
Name Flags
fdata
s
public final float[] generateArrayFromList(java.util.List);
descriptor: (Ljava/util/List;)[F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.size:()I
newarray 6
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: float[] int
StackMap stack:
aload 2
iload 3
aload 1
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Float
invokevirtual java.lang.Float.floatValue:()F
fastore
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm;
0 7 1 array Ljava/util/List;
1 7 2 fdata [F
2 6 3 i I
MethodParameters:
Name Flags
array
}
SourceFile: "FloatEncodingAlgorithm.java"
NestMembers:
com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm$1
InnerClasses:
public abstract WordListener = com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm$WordListener of com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm
com.sun.xml.internal.fastinfoset.algorithm.FloatEncodingAlgorithm$1