public int size(){
  if (mListeners != null) {
    return mListeners.size();
  }
 else {
    return 0;
  }
}

public int size ( ) { if ( mListeners != null ) { return mListeners . size ( ) ; } else { return 0 ; } }
gets the number of underlying listener objects .
