public class ProgressTracker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<java.lang.ref.WeakReference<Progress>> |
progresses
Set of potentially active progresses.
|
Constructor and Description |
---|
ProgressTracker() |
Modifier and Type | Method and Description |
---|---|
void |
addProgress(Progress p)
Add a new Progress to the tracker.
|
java.util.Collection<Progress> |
getProgresses()
Get a list of progresses tracked.
|
java.util.Collection<Progress> |
removeCompleted()
Remove completed progresses.
|
private java.util.ArrayList<java.lang.ref.WeakReference<Progress>> progresses
public java.util.Collection<Progress> getProgresses()
public void addProgress(Progress p)
p
- Progresspublic java.util.Collection<Progress> removeCompleted()
Copyright © 2019 ELKI Development Team. License information.