public void addDeletedPairsListener(DeletedPairsListener<T> listener) {
    if (myListeners == null) {
      myListeners = new DeletedPairsListener[1];
    }
    else {
      myListeners = Arrays.copyOf(myListeners, myListeners.length + 1);
    }
    myListeners[myListeners.length - 1] = listener;
  }
public void addDeletedPairsListener(DeletedPairsListener<T> listener)