public void overrideDifferenceListener(final DifferenceListener listener){
  if (listener != null) {
    _listeners.clear();
    _listeners.add(listener);
  }
}

public void overrideDifferenceListener ( final DifferenceListener listener ) { if ( listener != null ) { _listeners . clear ( ) ; _listeners . add ( listener ) ; } }
overrides differencelistener . < br > < p / > method will clear all the differencelisteners and put only one < p / > differencelistener passed as an argument
