public abstract class org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory<T extends java.lang.Number>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory
super_class: java.lang.Object
{
private final java.util.Map<java.lang.Integer, org.apache.commons.math3.util.Pair<T[], T[]>> pointsAndWeights;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Lorg/apache/commons/math3/util/Pair<[TT;[TT;>;>;
private final java.util.Map<java.lang.Integer, org.apache.commons.math3.util.Pair<double[], double[]>> pointsAndWeightsDouble;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Lorg/apache/commons/math3/util/Pair<[D[D>;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
putfield org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory.pointsAndWeights:Ljava/util/Map;
3: aload 0
4: new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
putfield org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory.pointsAndWeightsDouble:Ljava/util/Map;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/math3/analysis/integration/gauss/BaseRuleFactory<TT;>;
public org.apache.commons.math3.util.Pair<double[], double[]> getRule(int);
descriptor: (I)Lorg/apache/commons/math3/util/Pair;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iload 1
ifgt 4
1: new org.apache.commons.math3.exception.NotStrictlyPositiveException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.NUMBER_OF_POINTS:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
2: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
3: invokespecial org.apache.commons.math3.exception.NotStrictlyPositiveException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory.pointsAndWeightsDouble:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.commons.math3.util.Pair
astore 2
start local 2 5: aload 2
ifnonnull 9
6: aload 0
iload 1
invokevirtual org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory.getRuleInternal:(I)Lorg/apache/commons/math3/util/Pair;
astore 3
start local 3 7: aload 3
invokestatic org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory.convertToDouble:(Lorg/apache/commons/math3/util/Pair;)Lorg/apache/commons/math3/util/Pair;
astore 2
8: aload 0
getfield org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory.pointsAndWeightsDouble:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 9: StackMap locals: org.apache.commons.math3.util.Pair
StackMap stack:
new org.apache.commons.math3.util.Pair
dup
aload 2
invokevirtual org.apache.commons.math3.util.Pair.getFirst:()Ljava/lang/Object;
checkcast double[]
invokevirtual double[].clone:()Ljava/lang/Object;
checkcast double[]
10: aload 2
invokevirtual org.apache.commons.math3.util.Pair.getSecond:()Ljava/lang/Object;
checkcast double[]
invokevirtual double[].clone:()Ljava/lang/Object;
checkcast double[]
11: invokespecial org.apache.commons.math3.util.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/commons/math3/analysis/integration/gauss/BaseRuleFactory<TT;>;
0 12 1 numberOfPoints I
5 12 2 cached Lorg/apache/commons/math3/util/Pair<[D[D>;
7 9 3 rule Lorg/apache/commons/math3/util/Pair<[TT;[TT;>;
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException, org.apache.commons.math3.exception.DimensionMismatchException
Signature: (I)Lorg/apache/commons/math3/util/Pair<[D[D>;
MethodParameters:
Name Flags
numberOfPoints
protected synchronized org.apache.commons.math3.util.Pair<T[], T[]> getRuleInternal(int);
descriptor: (I)Lorg/apache/commons/math3/util/Pair;
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory.pointsAndWeights:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.commons.math3.util.Pair
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
aload 0
iload 1
invokevirtual org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory.computeRule:(I)Lorg/apache/commons/math3/util/Pair;
invokevirtual org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory.addRule:(Lorg/apache/commons/math3/util/Pair;)V
3: aload 0
iload 1
invokevirtual org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory.getRuleInternal:(I)Lorg/apache/commons/math3/util/Pair;
areturn
4: StackMap locals: org.apache.commons.math3.util.Pair
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/analysis/integration/gauss/BaseRuleFactory<TT;>;
0 5 1 numberOfPoints I
1 5 2 rule Lorg/apache/commons/math3/util/Pair<[TT;[TT;>;
Exceptions:
throws org.apache.commons.math3.exception.DimensionMismatchException
Signature: (I)Lorg/apache/commons/math3/util/Pair<[TT;[TT;>;
MethodParameters:
Name Flags
numberOfPoints
protected void addRule(org.apache.commons.math3.util.Pair<T[], T[]>);
descriptor: (Lorg/apache/commons/math3/util/Pair;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.commons.math3.util.Pair.getFirst:()Ljava/lang/Object;
checkcast java.lang.Number[]
arraylength
aload 1
invokevirtual org.apache.commons.math3.util.Pair.getSecond:()Ljava/lang/Object;
checkcast java.lang.Number[]
arraylength
if_icmpeq 4
1: new org.apache.commons.math3.exception.DimensionMismatchException
dup
aload 1
invokevirtual org.apache.commons.math3.util.Pair.getFirst:()Ljava/lang/Object;
checkcast java.lang.Number[]
arraylength
2: aload 1
invokevirtual org.apache.commons.math3.util.Pair.getSecond:()Ljava/lang/Object;
checkcast java.lang.Number[]
arraylength
3: invokespecial org.apache.commons.math3.exception.DimensionMismatchException.<init>:(II)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory.pointsAndWeights:Ljava/util/Map;
aload 1
invokevirtual org.apache.commons.math3.util.Pair.getFirst:()Ljava/lang/Object;
checkcast java.lang.Number[]
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/math3/analysis/integration/gauss/BaseRuleFactory<TT;>;
0 6 1 rule Lorg/apache/commons/math3/util/Pair<[TT;[TT;>;
Exceptions:
throws org.apache.commons.math3.exception.DimensionMismatchException
Signature: (Lorg/apache/commons/math3/util/Pair<[TT;[TT;>;)V
MethodParameters:
Name Flags
rule
protected abstract org.apache.commons.math3.util.Pair<T[], T[]> computeRule(int);
descriptor: (I)Lorg/apache/commons/math3/util/Pair;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws org.apache.commons.math3.exception.DimensionMismatchException
Signature: (I)Lorg/apache/commons/math3/util/Pair<[TT;[TT;>;
MethodParameters:
Name Flags
numberOfPoints
private static <T extends java.lang.Number> org.apache.commons.math3.util.Pair<double[], double[]> convertToDouble(org.apache.commons.math3.util.Pair<T[], T[]>);
descriptor: (Lorg/apache/commons/math3/util/Pair;)Lorg/apache/commons/math3/util/Pair;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.math3.util.Pair.getFirst:()Ljava/lang/Object;
checkcast java.lang.Number[]
astore 1
start local 1 1: aload 0
invokevirtual org.apache.commons.math3.util.Pair.getSecond:()Ljava/lang/Object;
checkcast java.lang.Number[]
astore 2
start local 2 2: aload 1
arraylength
istore 3
start local 3 3: iload 3
newarray 7
astore 4
start local 4 4: iload 3
newarray 7
astore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 10
7: StackMap locals: org.apache.commons.math3.util.Pair java.lang.Number[] java.lang.Number[] int double[] double[] int
StackMap stack:
aload 4
iload 6
aload 1
iload 6
aaload
invokevirtual java.lang.Number.doubleValue:()D
dastore
8: aload 5
iload 6
aload 2
iload 6
aaload
invokevirtual java.lang.Number.doubleValue:()D
dastore
9: iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
iload 3
if_icmplt 7
end local 6 11: new org.apache.commons.math3.util.Pair
dup
aload 4
aload 5
invokespecial org.apache.commons.math3.util.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)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 12 0 rule Lorg/apache/commons/math3/util/Pair<[TT;[TT;>;
1 12 1 pT [Ljava/lang/Number;
2 12 2 wT [Ljava/lang/Number;
3 12 3 len I
4 12 4 pD [D
5 12 5 wD [D
6 11 6 i I
Signature: <T:Ljava/lang/Number;>(Lorg/apache/commons/math3/util/Pair<[TT;[TT;>;)Lorg/apache/commons/math3/util/Pair<[D[D>;
MethodParameters:
Name Flags
rule
}
Signature: <T:Ljava/lang/Number;>Ljava/lang/Object;
SourceFile: "BaseRuleFactory.java"