public class org.apache.commons.math3.linear.RealVectorFormat
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.linear.RealVectorFormat
super_class: java.lang.Object
{
private static final java.lang.String DEFAULT_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "{"
private static final java.lang.String DEFAULT_SUFFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "}"
private static final java.lang.String DEFAULT_SEPARATOR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "; "
private final java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String suffix;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String separator;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String trimmedPrefix;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String trimmedSuffix;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String trimmedSeparator;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.text.NumberFormat format;
descriptor: Ljava/text/NumberFormat;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ldc "{"
ldc "}"
ldc "; "
1: invokestatic org.apache.commons.math3.util.CompositeFormat.getDefaultNumberFormat:()Ljava/text/NumberFormat;
invokespecial org.apache.commons.math3.linear.RealVectorFormat.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/text/NumberFormat;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/linear/RealVectorFormat;
public void <init>(java.text.NumberFormat);
descriptor: (Ljava/text/NumberFormat;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "{"
ldc "}"
ldc "; "
aload 1
invokespecial org.apache.commons.math3.linear.RealVectorFormat.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/text/NumberFormat;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/linear/RealVectorFormat;
0 2 1 format Ljava/text/NumberFormat;
MethodParameters:
Name Flags
format final
public void <init>(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;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
aload 1
aload 2
aload 3
1: invokestatic org.apache.commons.math3.util.CompositeFormat.getDefaultNumberFormat:()Ljava/text/NumberFormat;
invokespecial org.apache.commons.math3.linear.RealVectorFormat.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/text/NumberFormat;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/linear/RealVectorFormat;
0 3 1 prefix Ljava/lang/String;
0 3 2 suffix Ljava/lang/String;
0 3 3 separator Ljava/lang/String;
MethodParameters:
Name Flags
prefix final
suffix final
separator final
public void <init>(java.lang.String, java.lang.String, java.lang.String, java.text.NumberFormat);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/text/NumberFormat;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.commons.math3.linear.RealVectorFormat.prefix:Ljava/lang/String;
2: aload 0
aload 2
putfield org.apache.commons.math3.linear.RealVectorFormat.suffix:Ljava/lang/String;
3: aload 0
aload 3
putfield org.apache.commons.math3.linear.RealVectorFormat.separator:Ljava/lang/String;
4: aload 0
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
putfield org.apache.commons.math3.linear.RealVectorFormat.trimmedPrefix:Ljava/lang/String;
5: aload 0
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
putfield org.apache.commons.math3.linear.RealVectorFormat.trimmedSuffix:Ljava/lang/String;
6: aload 0
aload 3
invokevirtual java.lang.String.trim:()Ljava/lang/String;
putfield org.apache.commons.math3.linear.RealVectorFormat.trimmedSeparator:Ljava/lang/String;
7: aload 0
aload 4
putfield org.apache.commons.math3.linear.RealVectorFormat.format:Ljava/text/NumberFormat;
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/math3/linear/RealVectorFormat;
0 9 1 prefix Ljava/lang/String;
0 9 2 suffix Ljava/lang/String;
0 9 3 separator Ljava/lang/String;
0 9 4 format Ljava/text/NumberFormat;
MethodParameters:
Name Flags
prefix final
suffix final
separator final
format final
public static java.util.Locale[] getAvailableLocales();
descriptor: ()[Ljava/util/Locale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.text.NumberFormat.getAvailableLocales:()[Ljava/util/Locale;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String getPrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.linear.RealVectorFormat.prefix:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/linear/RealVectorFormat;
public java.lang.String getSuffix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.linear.RealVectorFormat.suffix:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/linear/RealVectorFormat;
public java.lang.String getSeparator();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.linear.RealVectorFormat.separator:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/linear/RealVectorFormat;
public java.text.NumberFormat getFormat();
descriptor: ()Ljava/text/NumberFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.linear.RealVectorFormat.format:Ljava/text/NumberFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/linear/RealVectorFormat;
public static org.apache.commons.math3.linear.RealVectorFormat getInstance();
descriptor: ()Lorg/apache/commons/math3/linear/RealVectorFormat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokestatic org.apache.commons.math3.linear.RealVectorFormat.getInstance:(Ljava/util/Locale;)Lorg/apache/commons/math3/linear/RealVectorFormat;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.commons.math3.linear.RealVectorFormat getInstance(java.util.Locale);
descriptor: (Ljava/util/Locale;)Lorg/apache/commons/math3/linear/RealVectorFormat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.commons.math3.linear.RealVectorFormat
dup
aload 0
invokestatic org.apache.commons.math3.util.CompositeFormat.getDefaultNumberFormat:(Ljava/util/Locale;)Ljava/text/NumberFormat;
invokespecial org.apache.commons.math3.linear.RealVectorFormat.<init>:(Ljava/text/NumberFormat;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale final
public java.lang.String format(org.apache.commons.math3.linear.RealVector);
descriptor: (Lorg/apache/commons/math3/linear/RealVector;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
new java.text.FieldPosition
dup
iconst_0
invokespecial java.text.FieldPosition.<init>:(I)V
invokevirtual org.apache.commons.math3.linear.RealVectorFormat.format:(Lorg/apache/commons/math3/linear/RealVector;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/linear/RealVectorFormat;
0 1 1 v Lorg/apache/commons/math3/linear/RealVector;
MethodParameters:
Name Flags
v
public java.lang.StringBuffer format(org.apache.commons.math3.linear.RealVector, java.lang.StringBuffer, java.text.FieldPosition);
descriptor: (Lorg/apache/commons/math3/linear/RealVector;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
iconst_0
invokevirtual java.text.FieldPosition.setBeginIndex:(I)V
1: aload 3
iconst_0
invokevirtual java.text.FieldPosition.setEndIndex:(I)V
2: aload 2
aload 0
getfield org.apache.commons.math3.linear.RealVectorFormat.prefix:Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
3: iconst_0
istore 4
start local 4 4: goto 9
5: StackMap locals: int
StackMap stack:
iload 4
ifle 7
6: aload 2
aload 0
getfield org.apache.commons.math3.linear.RealVectorFormat.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
7: StackMap locals:
StackMap stack:
aload 1
iload 4
invokevirtual org.apache.commons.math3.linear.RealVector.getEntry:(I)D
aload 0
getfield org.apache.commons.math3.linear.RealVectorFormat.format:Ljava/text/NumberFormat;
aload 2
aload 3
invokestatic org.apache.commons.math3.util.CompositeFormat.formatDouble:(DLjava/text/NumberFormat;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
pop
8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 1
invokevirtual org.apache.commons.math3.linear.RealVector.getDimension:()I
if_icmplt 5
end local 4 10: aload 2
aload 0
getfield org.apache.commons.math3.linear.RealVectorFormat.suffix:Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
11: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/commons/math3/linear/RealVectorFormat;
0 12 1 vector Lorg/apache/commons/math3/linear/RealVector;
0 12 2 toAppendTo Ljava/lang/StringBuffer;
0 12 3 pos Ljava/text/FieldPosition;
4 10 4 i I
MethodParameters:
Name Flags
vector
toAppendTo
pos
public org.apache.commons.math3.linear.ArrayRealVector parse(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/commons/math3/linear/ArrayRealVector;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new java.text.ParsePosition
dup
iconst_0
invokespecial java.text.ParsePosition.<init>:(I)V
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual org.apache.commons.math3.linear.RealVectorFormat.parse:(Ljava/lang/String;Ljava/text/ParsePosition;)Lorg/apache/commons/math3/linear/ArrayRealVector;
astore 3
start local 3 2: aload 2
invokevirtual java.text.ParsePosition.getIndex:()I
ifne 7
3: new org.apache.commons.math3.exception.MathParseException
dup
aload 1
4: aload 2
invokevirtual java.text.ParsePosition.getErrorIndex:()I
5: ldc Lorg/apache/commons/math3/linear/ArrayRealVector;
6: invokespecial org.apache.commons.math3.exception.MathParseException.<init>:(Ljava/lang/String;ILjava/lang/Class;)V
athrow
7: StackMap locals: java.text.ParsePosition org.apache.commons.math3.linear.ArrayRealVector
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/math3/linear/RealVectorFormat;
0 8 1 source Ljava/lang/String;
1 8 2 parsePosition Ljava/text/ParsePosition;
2 8 3 result Lorg/apache/commons/math3/linear/ArrayRealVector;
MethodParameters:
Name Flags
source
public org.apache.commons.math3.linear.ArrayRealVector parse(java.lang.String, java.text.ParsePosition);
descriptor: (Ljava/lang/String;Ljava/text/ParsePosition;)Lorg/apache/commons/math3/linear/ArrayRealVector;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.text.ParsePosition.getIndex:()I
istore 3
start local 3 1: aload 1
aload 2
invokestatic org.apache.commons.math3.util.CompositeFormat.parseAndIgnoreWhitespace:(Ljava/lang/String;Ljava/text/ParsePosition;)V
2: aload 1
aload 0
getfield org.apache.commons.math3.linear.RealVectorFormat.trimmedPrefix:Ljava/lang/String;
aload 2
invokestatic org.apache.commons.math3.util.CompositeFormat.parseFixedstring:(Ljava/lang/String;Ljava/lang/String;Ljava/text/ParsePosition;)Z
ifne 4
3: aconst_null
areturn
4: StackMap locals: int
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 5: iconst_1
istore 5
start local 5 6: goto 19
7: StackMap locals: java.util.List int
StackMap stack:
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 11
8: aload 1
aload 2
invokestatic org.apache.commons.math3.util.CompositeFormat.parseAndIgnoreWhitespace:(Ljava/lang/String;Ljava/text/ParsePosition;)V
9: aload 1
aload 0
getfield org.apache.commons.math3.linear.RealVectorFormat.trimmedSeparator:Ljava/lang/String;
aload 2
invokestatic org.apache.commons.math3.util.CompositeFormat.parseFixedstring:(Ljava/lang/String;Ljava/lang/String;Ljava/text/ParsePosition;)Z
ifne 11
10: iconst_0
istore 5
11: StackMap locals:
StackMap stack:
iload 5
ifeq 19
12: aload 1
aload 2
invokestatic org.apache.commons.math3.util.CompositeFormat.parseAndIgnoreWhitespace:(Ljava/lang/String;Ljava/text/ParsePosition;)V
13: aload 1
aload 0
getfield org.apache.commons.math3.linear.RealVectorFormat.format:Ljava/text/NumberFormat;
aload 2
invokestatic org.apache.commons.math3.util.CompositeFormat.parseNumber:(Ljava/lang/String;Ljava/text/NumberFormat;Ljava/text/ParsePosition;)Ljava/lang/Number;
astore 6
start local 6 14: aload 6
ifnull 17
15: aload 4
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: goto 19
17: StackMap locals: java.lang.Number
StackMap stack:
aload 2
iload 3
invokevirtual java.text.ParsePosition.setIndex:(I)V
18: aconst_null
areturn
end local 6 19: StackMap locals:
StackMap stack:
iload 5
ifne 7
end local 5 20: aload 1
aload 2
invokestatic org.apache.commons.math3.util.CompositeFormat.parseAndIgnoreWhitespace:(Ljava/lang/String;Ljava/text/ParsePosition;)V
21: aload 1
aload 0
getfield org.apache.commons.math3.linear.RealVectorFormat.trimmedSuffix:Ljava/lang/String;
aload 2
invokestatic org.apache.commons.math3.util.CompositeFormat.parseFixedstring:(Ljava/lang/String;Ljava/lang/String;Ljava/text/ParsePosition;)Z
ifne 23
22: aconst_null
areturn
23: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.size:()I
newarray 7
astore 5
start local 5 24: iconst_0
istore 6
start local 6 25: goto 28
26: StackMap locals: double[] int
StackMap stack:
aload 5
iload 6
aload 4
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
dastore
27: iinc 6 1
StackMap locals:
StackMap stack:
28: iload 6
aload 5
arraylength
if_icmplt 26
end local 6 29: new org.apache.commons.math3.linear.ArrayRealVector
dup
aload 5
iconst_0
invokespecial org.apache.commons.math3.linear.ArrayRealVector.<init>:([DZ)V
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 30 0 this Lorg/apache/commons/math3/linear/RealVectorFormat;
0 30 1 source Ljava/lang/String;
0 30 2 pos Ljava/text/ParsePosition;
1 30 3 initialIndex I
5 30 4 components Ljava/util/List<Ljava/lang/Number;>;
6 20 5 loop Z
14 19 6 component Ljava/lang/Number;
24 30 5 data [D
25 29 6 i I
MethodParameters:
Name Flags
source
pos
}
SourceFile: "RealVectorFormat.java"