Пример #1
0
 /**
  * remove a specific bidListenerlistener
  *
  * @param listener the listener to remove from the list
  * @return true if it was successfully removed
  */
 public boolean removeBidListener(BidListener listener) {
   return bidListeners.remove(listener);
 }
Пример #2
0
 /**
  * Appends the specified element to the end of this list.
  *
  * @param bidListener element to be appended to this list
  * @return {@code true} (as specified by {@link java.util.Collection#add})
  */
 public boolean addBidListener(BidListener bidListener) {
   return bidListeners.add(bidListener);
 }