Archived
explanation after question on presentation
This commit is contained in:
1 parent
4b531e51e1
commit
2ccc16f484
1 file changed
+1
-1
@@ -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