V
- the value type.public class Progress<V> extends Object
Constructor and Description |
---|
Progress(V value,
V target)
Create a new Progress.
|
Modifier and Type | Method and Description |
---|---|
Class<V> |
getProgressType()
Get the progress type.
|
V |
getTarget()
Get the target.
|
V |
getValue()
Get the value.
|
public Progress(@Nonnull V value, @Nonnull V target)
value
- the current value. For example, this could be the current number of bytes that have been processed.target
- the target value. For example, this could be the total number of bytes being processed.