public class AveragingObservable extends Observable<java.lang.Double>
| Constructor and Description |
|---|
AveragingObservable()
Creates a new observable with the default number of samples
|
AveragingObservable(int samples)
Creates a new observable with the specified number of samples
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getMax() |
java.lang.Double |
getMin() |
void |
set(java.lang.Double value)
Sets the value
|
addListener, get, removeListener, toStringpublic AveragingObservable()
public AveragingObservable(int samples)
samples - public java.lang.Double getMin()
public java.lang.Double getMax()
public void set(java.lang.Double value)
Setterset in interface Setter<java.lang.Double>set in class Observable<java.lang.Double>Copyright © 2014. All Rights Reserved.