Package org.hipparchus.util
Class IterationEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.hipparchus.util.IterationEvent
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IterativeLinearSolverEvent
public class IterationEvent extends EventObject
The root class from which all events occurring while running anIterationManager
should be derived.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description IterationEvent(Object source, int iterations)
Creates a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIterations()
Returns the number of iterations performed at the timethis
event is created.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
IterationEvent
public IterationEvent(Object source, int iterations)
Creates a new instance of this class.- Parameters:
source
- the iterative algorithm on which the event initially occurrediterations
- the number of iterations performed at the timethis
event is created
-
-