Package net.automatalib.common.util.nid
Class IDChangeNotifier<T extends NumericID>
- java.lang.Object
-
- net.automatalib.common.util.nid.IDChangeNotifier<T>
-
-
Constructor Summary
Constructors Constructor Description IDChangeNotifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(IDChangeListener<T> listener, boolean weak)
void
notifyListeners(T obj, int newId, int oldId)
void
removeListener(IDChangeListener<T> listener)
-
-
-
Method Detail
-
addListener
public void addListener(IDChangeListener<T> listener, boolean weak)
-
removeListener
public void removeListener(IDChangeListener<T> listener)
-
notifyListeners
public void notifyListeners(T obj, int newId, int oldId)
-
-