/** * 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); }
/** * 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); }