explanation after question on presentation
This commit is contained in:
parent
4b531e51e1
commit
2ccc16f484
@ -4,7 +4,7 @@ import java.util.Vector;
|
|||||||
|
|
||||||
public interface DataPointListener {
|
public interface DataPointListener {
|
||||||
|
|
||||||
// Vector of listeners
|
// Vector of listeners already static and final because it's in an interface
|
||||||
Vector<DataPointListener> listeners = new Vector<>();
|
Vector<DataPointListener> listeners = new Vector<>();
|
||||||
|
|
||||||
void onNewValue(DataPoint dp);
|
void onNewValue(DataPoint dp);
|
||||||
|
Reference in New Issue
Block a user