public class org.apache.commons.math3.util.IterationManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.util.IterationManager
super_class: java.lang.Object
{
private org.apache.commons.math3.util.IntegerSequence$Incrementor iterations;
descriptor: Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
flags: (0x0002) ACC_PRIVATE
private final java.util.Collection<org.apache.commons.math3.util.IterationListener> listeners;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Collection<Lorg/apache/commons/math3/util/IterationListener;>;
public void <init>(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
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic org.apache.commons.math3.util.IntegerSequence$Incrementor.create:()Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
iload 1
invokevirtual org.apache.commons.math3.util.IntegerSequence$Incrementor.withMaximalCount:(I)Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
putfield org.apache.commons.math3.util.IterationManager.iterations:Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
2: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield org.apache.commons.math3.util.IterationManager.listeners:Ljava/util/Collection;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/math3/util/IterationManager;
0 4 1 maxIterations I
MethodParameters:
Name Flags
maxIterations final
public void <init>(int, org.apache.commons.math3.util.Incrementor$MaxCountExceededCallback);
descriptor: (ILorg/apache/commons/math3/util/Incrementor$MaxCountExceededCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
new org.apache.commons.math3.util.IterationManager$1
dup
aload 2
invokespecial org.apache.commons.math3.util.IterationManager$1.<init>:(Lorg/apache/commons/math3/util/Incrementor$MaxCountExceededCallback;)V
invokespecial org.apache.commons.math3.util.IterationManager.<init>:(ILorg/apache/commons/math3/util/IntegerSequence$Incrementor$MaxCountExceededCallback;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/util/IterationManager;
0 2 1 maxIterations I
0 2 2 callBack Lorg/apache/commons/math3/util/Incrementor$MaxCountExceededCallback;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
maxIterations final
callBack final
public void <init>(int, org.apache.commons.math3.util.IntegerSequence$Incrementor$MaxCountExceededCallback);
descriptor: (ILorg/apache/commons/math3/util/IntegerSequence$Incrementor$MaxCountExceededCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic org.apache.commons.math3.util.IntegerSequence$Incrementor.create:()Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
iload 1
invokevirtual org.apache.commons.math3.util.IntegerSequence$Incrementor.withMaximalCount:(I)Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
aload 2
invokevirtual org.apache.commons.math3.util.IntegerSequence$Incrementor.withCallback:(Lorg/apache/commons/math3/util/IntegerSequence$Incrementor$MaxCountExceededCallback;)Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
putfield org.apache.commons.math3.util.IterationManager.iterations:Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
2: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield org.apache.commons.math3.util.IterationManager.listeners:Ljava/util/Collection;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/math3/util/IterationManager;
0 4 1 maxIterations I
0 4 2 callBack Lorg/apache/commons/math3/util/IntegerSequence$Incrementor$MaxCountExceededCallback;
MethodParameters:
Name Flags
maxIterations final
callBack final
public void addIterationListener(org.apache.commons.math3.util.IterationListener);
descriptor: (Lorg/apache/commons/math3/util/IterationListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.util.IterationManager.listeners:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/util/IterationManager;
0 2 1 listener Lorg/apache/commons/math3/util/IterationListener;
MethodParameters:
Name Flags
listener final
public void fireInitializationEvent(org.apache.commons.math3.util.IterationEvent);
descriptor: (Lorg/apache/commons/math3/util/IterationEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.util.IterationManager.listeners:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.apache.commons.math3.util.IterationManager org.apache.commons.math3.util.IterationEvent top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.math3.util.IterationListener
astore 2
start local 2 2: aload 2
aload 1
invokeinterface org.apache.commons.math3.util.IterationListener.initializationPerformed:(Lorg/apache/commons/math3/util/IterationEvent;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/util/IterationManager;
0 5 1 e Lorg/apache/commons/math3/util/IterationEvent;
2 3 2 l Lorg/apache/commons/math3/util/IterationListener;
MethodParameters:
Name Flags
e final
public void fireIterationPerformedEvent(org.apache.commons.math3.util.IterationEvent);
descriptor: (Lorg/apache/commons/math3/util/IterationEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.util.IterationManager.listeners:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.apache.commons.math3.util.IterationManager org.apache.commons.math3.util.IterationEvent top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.math3.util.IterationListener
astore 2
start local 2 2: aload 2
aload 1
invokeinterface org.apache.commons.math3.util.IterationListener.iterationPerformed:(Lorg/apache/commons/math3/util/IterationEvent;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/util/IterationManager;
0 5 1 e Lorg/apache/commons/math3/util/IterationEvent;
2 3 2 l Lorg/apache/commons/math3/util/IterationListener;
MethodParameters:
Name Flags
e final
public void fireIterationStartedEvent(org.apache.commons.math3.util.IterationEvent);
descriptor: (Lorg/apache/commons/math3/util/IterationEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.util.IterationManager.listeners:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.apache.commons.math3.util.IterationManager org.apache.commons.math3.util.IterationEvent top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.math3.util.IterationListener
astore 2
start local 2 2: aload 2
aload 1
invokeinterface org.apache.commons.math3.util.IterationListener.iterationStarted:(Lorg/apache/commons/math3/util/IterationEvent;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/util/IterationManager;
0 5 1 e Lorg/apache/commons/math3/util/IterationEvent;
2 3 2 l Lorg/apache/commons/math3/util/IterationListener;
MethodParameters:
Name Flags
e final
public void fireTerminationEvent(org.apache.commons.math3.util.IterationEvent);
descriptor: (Lorg/apache/commons/math3/util/IterationEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.util.IterationManager.listeners:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.apache.commons.math3.util.IterationManager org.apache.commons.math3.util.IterationEvent top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.math3.util.IterationListener
astore 2
start local 2 2: aload 2
aload 1
invokeinterface org.apache.commons.math3.util.IterationListener.terminationPerformed:(Lorg/apache/commons/math3/util/IterationEvent;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/util/IterationManager;
0 5 1 e Lorg/apache/commons/math3/util/IterationEvent;
2 3 2 l Lorg/apache/commons/math3/util/IterationListener;
MethodParameters:
Name Flags
e final
public int getIterations();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.util.IterationManager.iterations:Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
invokevirtual org.apache.commons.math3.util.IntegerSequence$Incrementor.getCount:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/util/IterationManager;
public int getMaxIterations();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.util.IterationManager.iterations:Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
invokevirtual org.apache.commons.math3.util.IntegerSequence$Incrementor.getMaximalCount:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/util/IterationManager;
public void incrementIterationCount();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.util.IterationManager.iterations:Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
invokevirtual org.apache.commons.math3.util.IntegerSequence$Incrementor.increment:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/util/IterationManager;
Exceptions:
throws org.apache.commons.math3.exception.MaxCountExceededException
public void removeIterationListener(org.apache.commons.math3.util.IterationListener);
descriptor: (Lorg/apache/commons/math3/util/IterationListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.util.IterationManager.listeners:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.remove:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/util/IterationManager;
0 2 1 listener Lorg/apache/commons/math3/util/IterationListener;
MethodParameters:
Name Flags
listener final
public void resetIterationCount();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.commons.math3.util.IterationManager.iterations:Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
iconst_0
invokevirtual org.apache.commons.math3.util.IntegerSequence$Incrementor.withStart:(I)Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
putfield org.apache.commons.math3.util.IterationManager.iterations:Lorg/apache/commons/math3/util/IntegerSequence$Incrementor;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/util/IterationManager;
}
SourceFile: "IterationManager.java"
NestMembers:
org.apache.commons.math3.util.IterationManager$1
InnerClasses:
public abstract MaxCountExceededCallback = org.apache.commons.math3.util.Incrementor$MaxCountExceededCallback of org.apache.commons.math3.util.Incrementor
public Incrementor = org.apache.commons.math3.util.IntegerSequence$Incrementor of org.apache.commons.math3.util.IntegerSequence
public abstract MaxCountExceededCallback = org.apache.commons.math3.util.IntegerSequence$Incrementor$MaxCountExceededCallback of org.apache.commons.math3.util.IntegerSequence$Incrementor
org.apache.commons.math3.util.IterationManager$1